Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(manifests): use params CM and env var for redis server (#13214) #13396

Merged
merged 5 commits into from
May 1, 2023

Conversation

crenshaw-dev
Copy link
Member

@crenshaw-dev crenshaw-dev commented May 1, 2023

🤖 Generated by Copilot at 9cb22d0

This pull request refactors the configuration of the Redis server address for Argo CD components by using a config map and an environment variable ARGOCD_REDIS. This simplifies the installation and deployment of Argo CD in both standard and high availability modes. It also removes some redundant and hard-coded values from the manifests.

Fixes #13214

…13214)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@codecov
Copy link

codecov bot commented May 1, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (8645ad2) 49.14% compared to head (1114ee4) 49.14%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #13396   +/-   ##
=======================================
  Coverage   49.14%   49.14%           
=======================================
  Files         248      248           
  Lines       42891    42891           
=======================================
  Hits        21079    21079           
  Misses      19693    19693           
  Partials     2119     2119           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Comment on lines -33 to -35
env:
- name: ARGOCD_REDIS_SERVICE
value: ""
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this does anything. We're using the upstream redis image, which has no reason to know anything about an Argo CD env var.

Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check my comment

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev crenshaw-dev merged commit 064c8da into argoproj:master May 1, 2023
@crenshaw-dev crenshaw-dev deleted the fix-manifests branch May 1, 2023 23:58
@crenshaw-dev
Copy link
Member Author

/cherry-pick release-2.7

gcp-cherry-pick-bot bot pushed a commit that referenced this pull request May 2, 2023
…13396)

* fix(manifests): use params CM and env var for redis server (#13214)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* add release note

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* rephrase

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* rephrase

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
crenshaw-dev added a commit that referenced this pull request May 2, 2023
…13396) (#13417)

* fix(manifests): use params CM and env var for redis server (#13214)



* add release note



* rephrase



* rephrase



---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
schakrad pushed a commit to schakrad/argo-cd that referenced this pull request Jul 24, 2023
…13214) (argoproj#13396) (argoproj#13417)

* fix(manifests): use params CM and env var for redis server (argoproj#13214)

* add release note

* rephrase

* rephrase

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
…13214) (argoproj#13396)

* fix(manifests): use params CM and env var for redis server (argoproj#13214)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* add release note

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* rephrase

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* rephrase

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dial tcp: lookup $(ARGOCD_REDIS_SERVICE): no such host
2 participants