1、Forbidden: may not specify more than 1 handler type
helm upgrade --install openbayes traefik/traefik -f values.yaml -n default --create-namespace
Error: UPGRADE FAILED: cannot patch "xxx" with kind Deployment: Deployment.apps "xxx" is invalid: spec.template.spec.containers[1].livenessProbe.httpGet: Forbidden: may not specify more than 1 handler type
原因
deploy 资源中字段配置和 helm charts 中配置不一致导致的。
Deployment.spec.template.spec.containers[1].livenessProbe.httpGet