kubernetes-management
kubernetes-management copied to clipboard
Missing required namespaces for release docker-registry-secrets
During initial build of a cluster where the helmchart docker-registry-secrets is used, we encountered this error :
Error: release docker-registry-secrets failed, and has been uninstalled due to atomic being set: namespaces "jenkins-agents" not found
as the namespace was not created before hands. we need to ensure that the namespace is created before the call to docker-registry-secrets or during it. https://github.com/jenkins-infra/kubernetes-management/blob/e5967a6c9e3f2dbce575c8c99f9fef36a919fb33/clusters/doks.yaml#L12-L21