Disable webhooks for now, latest operator

This commit is contained in:
Stefan Reimer 2020-07-31 01:32:44 +01:00
parent a6bb7e2425
commit 87f1a3c8d3

View File

@ -27,9 +27,11 @@ prometheus-operator:
enabled: false enabled: false
defaultRules: defaultRules:
create: false create: false
# Default configuration of prometheus operator will create CRDs in the cluster idempotently
prometheusOperator: prometheusOperator:
enabled: true enabled: true
image:
tag: v0.41.0
# Run on controller nodes # Run on controller nodes
tolerations: tolerations:
@ -38,24 +40,17 @@ prometheus-operator:
nodeSelector: nodeSelector:
node-role.kubernetes.io/master: "" node-role.kubernetes.io/master: ""
# We use Argo # Argo takes care of CRDs
manageCrds: false manageCrds: false
createCustomResource: true createCustomResource: true
# Operator has TLS support starting 0.39, but chart does not support CAConfig and operator flags yet # Operator has TLS support starting 0.39, but chart does not support CAConfig and operator flags yet
# see: https://github.com/coreos/prometheus-operator/blob/master/Documentation/user-guides/webhook.md#deploying-the-admission-webhook # 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 # Until then we disable them as the patching interferes with Argo anyways
tlsProxy: tlsProxy:
enabled: true enabled: false
admissionWebhooks: admissionWebhooks:
enabled: true enabled: false
patch:
enabled: true
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
nodeSelector:
node-role.kubernetes.io/master: ""
#namespaces: #namespaces:
# releaseNamespace: true # releaseNamespace: true