Description
Seems like the webhook server is not getting restarted when cert-manager issues a new certificate. I would expect the devworkspace-controller-manager to do this, or for the webhook server to see that the cert has been rolled.
ERROR: Job failed (system failure): prepare environment: setting up trapping scripts on emptyDir: Internal error occurred: failed calling webhook "validate-exec.devworkspace-controller.svc": failed to call webhook: Post "[https://devworkspace-webhookserver.devworkspace-controller.svc:443/validate?timeout=10s](https://devworkspace-webhookserver.devworkspace-controller.svc/validate?timeout=10s)": tls: failed to verify certificate: x509: certificate signed by unknown authority. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
Perhaps I just have something misconfigured, but when this cert expires, it causes issues for other non-devworkspace pods. Killing the webhook server and letting a new pod come up resolves the issue.
I am using the following Flux config to deploy the manifests under deploy/deployment/kubernetes/objects/
apiVersion: source.toolkit.fluxcd.io/v1beta2kind: GitRepositorymetadata:
name: devworkspace-operatornamespace: devworkspace-controllerspec:
interval: 1hurl: https://github.com/devfile/devworkspace-operatorref:
tag: v0.22.0ignore: | # exclude all /* # include k8s deploy objects directory !/deploy/deployment/kubernetes/objects/---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2kind: Kustomizationmetadata:
name: devworkspace-operatornamespace: devworkspace-controllerspec:
interval: 1hretryInterval: 1mtimeout: 5msourceRef:
kind: GitRepositoryname: devworkspace-operatorpath: ./deploy/deployment/kubernetes/objectsprune: true
Description
Seems like the webhook server is not getting restarted when cert-manager issues a new certificate. I would expect the
devworkspace-controller-managerto do this, or for the webhook server to see that the cert has been rolled.Perhaps I just have something misconfigured, but when this cert expires, it causes issues for other non-devworkspace pods. Killing the webhook server and letting a new pod come up resolves the issue.
I am using the following Flux config to deploy the manifests under
deploy/deployment/kubernetes/objects/