This repository has been archived by the owner on Dec 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(helm): add support to p2p (#2212)
* chore(helm): add support to p2p * fix(helm): removed default values from templates * fix(helm): added required mandatory fake values for helm install ci test to pass * fix(helm): changed default values
- Loading branch information
1 parent
9a6175e
commit 3bb9411
Showing
6 changed files
with
152 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{- if and ( not .Values.backup.enabled ) .Values.p2p.service.enabled }} | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ template "papyrus.name" . }}-p2p | ||
labels: | ||
{{- include "papyrus.labels" . | nindent 4 }} | ||
spec: | ||
selector: | ||
{{- include "papyrus.selectorLabels" . | nindent 6 }} | ||
type: {{ .Values.p2p.service.type }} | ||
ports: | ||
- name: p2p | ||
port: {{ .Values.p2p.service.port }} | ||
protocol: {{ .Values.p2p.service.protocol }} | ||
targetPort: p2p | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{{- if not .Values.backup.enabled }} | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ template "papyrus.name" . }} | ||
labels: | ||
{{- include "papyrus.labels" . | nindent 4 }} | ||
spec: | ||
selector: | ||
{{- include "papyrus.selectorLabels" . | nindent 6 }} | ||
type: {{ .Values.service.type }} | ||
ports: | ||
{{- if and .Values.service.ports.rpc .Values.service.ports.rpc.enabled }} | ||
- name: rpc | ||
port: {{ .Values.service.ports.rpc.port }} | ||
protocol: {{ .Values.service.ports.rpc.protocol }} | ||
targetPort: rpc | ||
{{- end }} | ||
{{- if and .Values.service.ports.monitoring .Values.service.ports.monitoring.enabled }} | ||
- name: monitoring | ||
port: {{ .Values.service.ports.monitoring.port }} | ||
protocol: {{ .Values.service.ports.monitoring.protocol }} | ||
targetPort: monitoring | ||
{{- end }} | ||
{{- end }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters