unset values in secret-env if they are unset in helm#30
Open
unset values in secret-env if they are unset in helm#30
Conversation
…cretName when checking if the image exists
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](golang/net@v0.1.0...v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
yetone
reviewed
Aug 17, 2023
| DOCKER_REGISTRY_SERVER: {{ .Values.dockerRegistry.server | quote }} | ||
| DOCKER_REGISTRY_IN_CLUSTER_SERVER: {{ .Values.dockerRegistry.inClusterServer | quote }} | ||
| DOCKER_REGISTRY_USERNAME: {{ .Values.dockerRegistry.username | quote }} | ||
| {{- if not .Values.dockerRegistry.passwordExistingSecretName }} |
Contributor
There was a problem hiding this comment.
If you delete this, the passwordExistingSecretName will not take effect.
This solves an issue where even if helm values are set to false, secret values will be preserved.
60ad04b to
001c1c1
Compare
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.
This solves an issue where even if helm values are set to false, secret values will be preserved.
This is untested as I'm not exactly sure of how to test this, and shouldn't be merged.
/cc @bojiang