fix(prometheus): disable webhook

This commit is contained in:
nold 2023-02-17 23:07:30 +01:00
parent f2a90cb094
commit 9c12748f4f

View file

@ -62,14 +62,6 @@ alertmanager:
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerspec ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerspec
## ##
alertmanagerSpec: alertmanagerSpec:
## Image of Alertmanager
##
image:
registry: quay.io
repository: prometheus/alertmanager
tag: v0.25.0
sha: ""
## If true then the user will be responsible to provide a secret with alertmanager configuration ## If true then the user will be responsible to provide a secret with alertmanager configuration
## So when true the config part will be ignored (including templateFiles) and the one in the secret will be used ## So when true the config part will be ignored (including templateFiles) and the one in the secret will be used
## ##
@ -817,13 +809,7 @@ prometheusOperator:
admissionWebhooks: admissionWebhooks:
patch: patch:
enabled: true enabled: false
image:
registry: k8s.gcr.io
repository: ingress-nginx/kube-webhook-certgen
tag: v1.3.0
sha: ""
pullPolicy: IfNotPresent
# Use certmanager to generate webhook certs # Use certmanager to generate webhook certs
certManager: certManager:
@ -883,30 +869,6 @@ prometheusOperator:
## Prometheus-operator image ## Prometheus-operator image
## ##
image:
registry: quay.io
repository: prometheus-operator/prometheus-operator
tag: v0.63.0
sha: ""
pullPolicy: IfNotPresent
## Prometheus-config-reloader
##
prometheusConfigReloader:
# image to use for config and rule reloading
image:
registry: quay.io
repository: prometheus-operator/prometheus-config-reloader
tag: v0.63.0
sha: ""
## Thanos side-car image when configured
##
thanosImage:
registry: quay.io
repository: thanos/thanos
tag: v0.30.2
sha: ""
## Set a Field Selector to filter watched secrets ## Set a Field Selector to filter watched secrets
## ##
@ -917,23 +879,19 @@ prometheusOperator:
prometheus: prometheus:
enabled: true enabled: true
image:
repository: quay.io/prometheus/prometheus
tag: v2.42.0
strategy: strategy:
type: Recreate type: Recreate
sidecarContainers: sidecarContainers: {}
smartctl: # smartctl:
name: smartctl-exporter # name: smartctl-exporter
image: matusnovak/prometheus-smartctl:latest # image: matusnovak/prometheus-smartctl:latest
securityContext: # securityContext:
runAsNonRoot: false # runAsNonRoot: false
privileged: true # privileged: true
ports: # ports:
- name: metrics # - name: metrics
containerPort: 9902 # containerPort: 9902
## Annotations for Prometheus ## Annotations for Prometheus
## ##
@ -1339,11 +1297,6 @@ prometheus:
## Image of Prometheus. ## Image of Prometheus.
## ##
image:
registry: quay.io
repository: prometheus/prometheus
tag: v2.42.0
sha: ""
## Tolerations for use with node taints ## Tolerations for use with node taints
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/