update
diff --git a/charts/ingress/templates/install.yaml b/charts/ingress/templates/install.yaml
index c50a741..aabf6cc 100644
--- a/charts/ingress/templates/install.yaml
+++ b/charts/ingress/templates/install.yaml
@@ -3,8 +3,10 @@
metadata:
name: ingress-{{ .Values.domain }}
namespace: {{ .Release.Namespace }}
- {{- if or .Values.certificateIssuer .Values.appRoot }}
annotations:
+ {{- for .Values.annotations }}
+ {{ . }}
+ {{- end }}
{{- if .Values.certificateIssuer }}
acme.cert-manager.io/http01-edit-in-place: "true"
cert-manager.io/cluster-issuer: {{ .Values.certificateIssuer }}
@@ -13,7 +15,6 @@
{{- if .Values.appRoot }}
nginx.ingress.kubernetes.io/app-root: {{ .Values.appRoot }}
{{- end }}
- {{- end }}
spec:
ingressClassName: {{ .Values.ingressClassName }}
{{- if .Values.certificateIssuer }}
diff --git a/charts/ingress/values.yaml b/charts/ingress/values.yaml
index 0640557..20c1eb8 100644
--- a/charts/ingress/values.yaml
+++ b/charts/ingress/values.yaml
@@ -7,3 +7,4 @@
port:
number: 80
name: ""
+annotations: {}