Add webhooks and set tolerations

This commit is contained in:
Stefan Reimer 2020-07-31 01:18:07 +01:00
parent 9deafa7f3e
commit a6bb7e2425

View File

@ -31,17 +31,33 @@ prometheus-operator:
prometheusOperator: prometheusOperator:
enabled: true enabled: true
# Run on controller nodes
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
nodeSelector:
node-role.kubernetes.io/master: ""
# We use Argo # We use Argo
manageCrds: false manageCrds: false
createCustomResource: true createCustomResource: true
serviceMonitor: # Operator has TLS support starting 0.39, but chart does not support CAConfig and operator flags yet
selfMonitor: false # see: https://github.com/coreos/prometheus-operator/blob/master/Documentation/user-guides/webhook.md#deploying-the-admission-webhook
# Until then we use the patch job and tls proxy, to be reviewed later on to use the kubezero local cluster CA from cert-manager
tlsProxy: tlsProxy:
enabled: false enabled: true
admissionWebhooks: admissionWebhooks:
enabled: false enabled: true
namespaces: patch:
releaseNamespace: true enabled: true
additional: tolerations:
- kube-system - key: node-role.kubernetes.io/master
effect: NoSchedule
nodeSelector:
node-role.kubernetes.io/master: ""
#namespaces:
# releaseNamespace: true
# additional:
# - kube-system