You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2020. It is now read-only.
Sometimes when I try to change the number of replicas (either with kubectl apply -f ./ or kubectl edit deployment bono) I get an error:
$ k edit deployment ellis
A copy of your changes has been stored to "/tmp/kubectl-edit-nf7qp.yaml"
error: map: map[] does not contain declared merge key: name
Impact
I have to delete the deployment, then recreate it with the new number of recplicas
I'm pretty sure that the empty imagePullSecrets value I wrote in PR #88 is not as valid as I thought. It deploys fine, but has this merging issue. See this post
So I need to update PR #88 to make it not add any imagePullSecrets when there's no registry authentication required. I'll fix this some time this week.
For now, if anyone runs into this issue, just delete the following lines from your yaml files: