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

chore: Run dex reverse proxy only when dex is configured #7999

Merged
merged 1 commit into from
Jan 15, 2022
Merged

chore: Run dex reverse proxy only when dex is configured #7999

merged 1 commit into from
Jan 15, 2022

Conversation

mkilchhofer
Copy link
Member

@mkilchhofer mkilchhofer commented Dec 20, 2021

While analysing this issue here (argoproj/argo-helm#615 (comment)) from the community repo, it seems that the reverse proxy for Dex can be optimised.

When using external SSO only, the reverse proxy for /api/dex seems unneeded.

Feel free to decline this small improvement or request additional info. 😉


Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #7999 (9132b09) into master (fcaa8ab) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7999   +/-   ##
=======================================
  Coverage   41.47%   41.47%           
=======================================
  Files         173      173           
  Lines       22587    22587           
=======================================
  Hits         9369     9369           
  Misses      11886    11886           
  Partials     1332     1332           
Impacted Files Coverage Δ
server/server.go 54.96% <100.00%> (ø)
util/settings/settings.go 46.85% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fcaa8ab...9132b09. Read the comment docs.

Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

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

LGTM! This changes actually makes sense, thanks @mkilchhofer !

@jannfis jannfis merged commit 303cc46 into argoproj:master Jan 15, 2022
@mkilchhofer mkilchhofer deleted the feature/dex_reverse_proxy branch January 15, 2022 16:34
alexmt added a commit to alexmt/argo-cd that referenced this pull request Jan 27, 2022
…oproj#7999)"

This reverts commit 303cc46.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
jannfis pushed a commit that referenced this pull request Jan 27, 2022
…)" (#8291)

This reverts commit 303cc46.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
pasha-codefresh pushed a commit to pasha-codefresh/argo-cd that referenced this pull request Feb 2, 2022
…oproj#7999)" (argoproj#8291)

This reverts commit 303cc46.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: pashavictorovich <pavel@codefresh.io>
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.

2 participants