Repository navigation
fix(chart): drop the default image pull secret - #211
Merged
Merged
Conversation
The chart named a registry-creds pull secret that nothing creates, so every console pod logged FailedToRetrieveImagePullSecret. Pulls only worked because the platform registry serves anonymous reads, and the warning would have hidden a real failure if that changed. Default imagePullSecrets to an empty list and say when to set it. Closes dmfdeploy/dmfdeploy#852 Signed-off-by: znerol2 <6800371+znerol2@users.noreply.github.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The chart defaulted
imagePullSecretstoregistry-creds, a secret that no role, script or playbook creates. Every console pod loggedFailedToRetrieveImagePullSecret. Pulls worked only because the platform registry serves anonymous reads (ADR-0033), so the warning was noise. If reads ever needed a login, that noise would also hide the real failure.The default is now
imagePullSecrets: [], with a comment saying to set it only when the registry needs credentials for reads.Verification
helm template:--setvalues, there is noimagePullSecretsby default.--set imagePullSecrets[0].name=xrenders the override.registry-creds.helm lintand the version sync check pass.imagePullSecrets, is ready, and pulled from the platform registry, with noFailedToRetrieveImagePullSecretevent.Review
One round of adversarial review. It passed.
Closes dmfdeploy/dmfdeploy#852