Container Registry Reset
Problem​
Reset container registry is not feasible due to the RESET REGISTRY
button not accessible.
Cause​
The KubeRocketCI Portal does not allow to reconfigure the registry because the registry secrets have external owners.
Solution​
Remove the kaniko-docker-config
and regcred
resources from both the ExternalSecret custom resources and the Kubernetes secrets.
-
Check the kaniko-docker-config and regcred ExternalSecret custom resources (CRs) in the namespace:
kubectl get externalsecret kaniko-docker-config -n edp-delivery-os-dev
kubectl get externalsecret regcred -n edp-delivery-os-dev -
Delete the
kaniko-docker-config
andregcred
ExternalSecret CRs using the commands provided below:kubectl delete externalsecret kaniko-docker-config -n edp-delivery-os-dev
kubectl delete externalsecret regcred -n edp-delivery-os-dev -
Delete the
kaniko-docker-config
andregcred
Kubernetes secrets if they have not been automatically deleted by the External Secrets Operator:kubectl delete secret kaniko-docker-config -n edp-delivery-os-dev
kubectl delete secret regcred -n edp-delivery-os-dev -
Disable the creation of the kaniko-docker-config and regcred ExternalSecret CRs in the values file of the edp-install Helm chart.
noteBy default, it takes 5-10 minutes to take affect but it may vary depending on your personal platform configuration.
-
Refresh the KubeRocketCI portal page and set your container registry again.