Hi Team,
My prometheus deployment is hanging when I enable admission.webhook i am getting below error.
kubectl logs -f prometheus-operator-admission-create-fpxfj -n ns-prometheus-ops-mgmt
W0624 05:45:59.145519 1 client_config.go:548] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
log: exiting because of error: log: cannot create log: open /tmp/kube-webhook-certgen.prometheus-operator-admission-create-fpxfj.unknownuser.log.WARNING.20200624-054559.1: permission denied
I have permission of /tmp to create files.
I can able to deploy disabling it and also I have disable total two parameter to deploy successfully.
--set prometheusOperator.admissionWebhooks.enabled=false
--set prometheusOperator.tlsProxy.enabled=false ( it seems it has dependency with admissionWebhooks)
helm install prometheus-operator . -f values-custom.yaml -n ns-prometheus-ops-mgmt --set prometheusOperator.admissionWebhooks.enabled=false --set prometheusOperator.tlsProxy.enabled=false
I would like to request if there is any solution for the same as I have to enable admission.webhook because for rule syntax checking.
Thanks & Regards
Nabarun Sen