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,21 +1,21 @@
{{- if .Values.vault.create.ingress.enabled -}}
{{- if .Values.create.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-vault-ingress
name: {{ include "vault.fullname" . }}-ingress
labels:
app: {{ .Release.Name }}-vault
app: {{ include "vault.fullname" . }}
spec:
ingressClassName: nginx
rules:
- host: {{ .Values.vault.create.ingress.host }}
- host: {{ .Values.create.ingress.host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-vault
name: {{ include "vault.fullname" . }}
port:
number: 80
{{- end -}}