add config property to save the additional configuration

Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
Roland.Ma
2021-09-02 03:31:58 +00:00
parent f5b98a39e5
commit 9360dfd1b2
5 changed files with 14 additions and 4 deletions

View File

@@ -16,7 +16,9 @@ spec:
enabled: {{ eq .Values.service.type "LoadBalancer" }}
# Will add custom configuration options to Nginx https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/
config: {}
{{- if .Values.controller.config }}
config: {{ toYaml .Values.controller.config | nindent 6 }}
{{- end }}
## Annotations to be added to the controller config configuration configmap
##
@@ -256,7 +258,7 @@ spec:
enabled: true
serviceMonitor:
enabled: false
enabled: true
prometheusRule:
enabled: false