diff --git a/yamls/webhook.yaml b/yamls/webhook.yaml index 11dd4751a0a..8270aa08b96 100644 --- a/yamls/webhook.yaml +++ b/yamls/webhook.yaml @@ -44,6 +44,30 @@ spec: - mountPath: /tmp/k8s-webhook-server/serving-certs name: cert readOnly: true + ports: + - containerPort: 8443 + name: https + protocol: TCP + livenessProbe: + failureThreshold: 3 + httpGet: + path: /validating + port: 8443 + scheme: HTTPS + initialDelaySeconds: 60 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + readinessProbe: + failureThreshold: 3 + httpGet: + path: /validating + port: 8443 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 5 + successThreshold: 1 + timeoutSeconds: 1 volumes: - name: cert secret: