Updated chart so that it worked better as a subchart, is more configurable and better documented
All checks were successful
Deploy the Helm Chart / build (push) Successful in 11s

This commit is contained in:
Alan Bridgeman 2025-12-19 17:11:14 -06:00
parent 82908c043c
commit ae8f4ad22b
11 changed files with 222 additions and 145 deletions

View file

@ -1,19 +1,19 @@
{{- if .Values.vault.create.enabled -}}
{{- if .Values.create.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-vault
name: {{ include "vault.fullname" . }}
labels:
app: {{ .Release.Name }}-vault
app: {{ include "vault.fullname" . }}
spec:
selector:
app: {{ .Release.Name }}-vault
app: {{ include "vault.fullname" . }}
ports:
{{- if .Values.vault.create.snapshotServer.enabled }}
{{- if .Values.create.snapshotServer.enabled }}
- name: custom-snapshot-server
protocol: TCP
port: {{ .Values.vault.create.snapshotServer.externalPort }}
targetPort: {{ .Values.vault.create.snapshotServer.internalPort }}
port: {{ .Values.create.snapshotServer.externalPort }}
targetPort: {{ .Values.create.snapshotServer.internalPort }}
{{- end }}
- name: http
protocol: TCP