fix podAnnotations quotes for #6315
bumped chart version, daemonset podannotations missing end on podannotations ci values files new lines at the end of files
This commit is contained in:
parent
dc120bbfc2
commit
3ae837b4b0
5 changed files with 35 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
apiVersion: v1
|
||||
name: ingress-nginx
|
||||
version: 3.6.0
|
||||
version: 3.7.0
|
||||
appVersion: 0.40.2
|
||||
home: https://github.com/kubernetes/ingress-nginx
|
||||
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
|
||||
|
|
13
charts/ingress-nginx/ci/daemonset-podannotations-values.yaml
Normal file
13
charts/ingress-nginx/ci/daemonset-podannotations-values.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
controller:
|
||||
kind: DaemonSet
|
||||
admissionWebhooks:
|
||||
enabled: false
|
||||
metrics:
|
||||
enabled: true
|
||||
service:
|
||||
type: ClusterIP
|
||||
podAnnotations:
|
||||
prometheus.io/path: /metrics
|
||||
prometheus.io/port: "10254"
|
||||
prometheus.io/scheme: http
|
||||
prometheus.io/scrape: "true"
|
|
@ -0,0 +1,12 @@
|
|||
controller:
|
||||
admissionWebhooks:
|
||||
enabled: false
|
||||
metrics:
|
||||
enabled: true
|
||||
service:
|
||||
type: ClusterIP
|
||||
podAnnotations:
|
||||
prometheus.io/path: /metrics
|
||||
prometheus.io/port: "10254"
|
||||
prometheus.io/scheme: http
|
||||
prometheus.io/scrape: "true"
|
|
@ -26,7 +26,10 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
{{- if .Values.controller.podAnnotations }}
|
||||
annotations: {{ toYaml .Values.controller.podAnnotations | nindent 8 }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.controller.podAnnotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "ingress-nginx.selectorLabels" . | nindent 8 }}
|
||||
|
|
|
@ -30,7 +30,10 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
{{- if .Values.controller.podAnnotations }}
|
||||
annotations: {{ toYaml .Values.controller.podAnnotations | nindent 8 }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.controller.podAnnotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "ingress-nginx.selectorLabels" . | nindent 8 }}
|
||||
|
|
Loading…
Reference in a new issue