custom-hashicorp-vault-helm/templates/vault-ingress.yaml
Alan Bridgeman f40cbdf6dd
All checks were successful
Deploy the Helm Chart / build (push) Successful in 7s
Initial code commit + initial automation stuff + etc...
2025-12-18 22:23:37 -06:00

21 lines
No EOL
501 B
YAML

{{- if .Values.vault.create.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-vault-ingress
labels:
app: {{ .Release.Name }}-vault
spec:
ingressClassName: nginx
rules:
- host: {{ .Values.vault.create.ingress.host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-vault
port:
number: 80
{{- end -}}