fix(argo-cd): fixed externally managed redis secret marked as optional (#2836)#3849
Open
michaelvl wants to merge 1 commit intoargoproj:mainfrom
Open
fix(argo-cd): fixed externally managed redis secret marked as optional (#2836)#3849michaelvl wants to merge 1 commit intoargoproj:mainfrom
michaelvl wants to merge 1 commit intoargoproj:mainfrom
Conversation
0d8c3e1 to
13665c5
Compare
2f9148f to
26375b2
Compare
3027960 to
cd145fc
Compare
7 tasks
…oj#2836) Signed-off-by: Michael Vittrup Larsen <mvl.gh@network42.dk>
cd145fc to
8a8d538
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.
Fixes #2836
Note, the settings for Redis in this chart is a little complicated. Generally the options are:
.Values.externalRedis.host).Values.externalRedis.existingSecretallow naming an external Redis secretargocd-redis.Values.redisSecretInit.enabled, then Helm chart generates a secretoptional: trueThe questionable part of this PR is how to make the
optionalbe configurable - especially since there is no good section of thevalues.yamlfile where an option could fit in - the "internal Redis with externally managed secret" does not have a section of its own. Since there are several other references that similarly are given withoptional: truemy thinking was to create a separate section for 'reference optinality' where other refences could be added in the future. The default values ensures that the change is backward compatible,Hence, anyone using an externally managed Redis secret will need to add:
with this, e.g. the application controller pod will have the following env-var settings:
Checklist: