fix: ensure map keys are unique
This commit is contained in:
1 parent
e9986b5775
commit
03ae424a27
1 file changed
+12
-14
@@ -1,11 +1,10 @@
|
|||||||
|
---
|
||||||
controller:
|
controller:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
# Print access log to file instead of stdout
|
access-log-path: /var/log/nginx/access.log
|
||||||
# Separating acces logs from the rest
|
error-log-path: /var/log/nginx/error.log
|
||||||
access-log-path: "/var/log/nginx/access.log"
|
|
||||||
error-log-path: "/var/log/nginx/error.log"
|
|
||||||
log-format-escape-json: "true"
|
log-format-escape-json: "true"
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
@@ -27,7 +26,6 @@ controller:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/log/nginx
|
- mountPath: /var/log/nginx
|
||||||
name: data
|
name: data
|
||||||
extraContainers:
|
|
||||||
- name: stream-errorlog
|
- name: stream-errorlog
|
||||||
image: busybox
|
image: busybox
|
||||||
args:
|
args:
|
||||||
@@ -48,12 +46,12 @@ controller:
|
|||||||
prometheus.io/scheme: http
|
prometheus.io/scheme: http
|
||||||
prometheus.io/scrape: "true"
|
prometheus.io/scrape: "true"
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "CriticalAddonsOnly"
|
- key: CriticalAddonsOnly
|
||||||
operator: "Exists"
|
operator: Exists
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
- key: node-role.kubernetes.io/control-plane
|
||||||
operator: "Exists"
|
operator: Exists
|
||||||
effect: "NoSchedule"
|
effect: NoSchedule
|
||||||
- key: "node-role.kubernetes.io/master"
|
- key: node-role.kubernetes.io/master
|
||||||
operator: "Exists"
|
operator: Exists
|
||||||
effect: "NoSchedule"
|
effect: NoSchedule
|
||||||
priorityClassName: "system-cluster-critical"
|
priorityClassName: system-cluster-critical
|
||||||
Reference in new issue
Block a user