-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
If livenessProbe: httpGet: port is set as "8082" the deployment will fail:
Upgrade failed: cannot patch "external-secrets" with kind Deployment: Deployment.apps "external-secrets" is invalid: spec.template.spec.containers[0].livenessProbe.httpGet.port: Invalid value: "8082": must contain at least one letter (a-z)
... and with alphabetical value it affects these two rows, which will end up with failed deployment:
spec:
template:
spec:
containers:
- args:
...
- --live-addr=:8082
livenessProbe:
...
httpGet:
...
port: 8082
I know how to fix it by using 'kubectl edit deployments.apps external-secret', but would be nice if it would accept port number, or used a named port, like:
ports:
...
- containerPort: 8082
name: liveness
protocol: TCP
To Reproduce
Steps to reproduce the behavior:
-
Terraform helm_release with these values.yaml:
livenessProbe:
enabled: true
spec:
address: ""
initialDelaySeconds: 10
periodSeconds: 20
timeoutSeconds: 10
failureThreshold: 3
successThreshold: 1
httpGet:
path: /healthz
port: "8082" -
Kubernetes 1.34 and ESO 0.20.2
Metadata
Metadata
Assignees
Labels
Type
Projects
Status