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

Make authorization proxy namespace configurable #490

Merged
merged 9 commits into from
Feb 23, 2024
Merged

Conversation

jooseppi-luna
Copy link
Contributor

@jooseppi-luna jooseppi-luna commented Feb 22, 2024

Description

The authorization proxy deployment had a few hardcoded namespaces that would cause the deployment to break if a user set a different namespace in a sample file. This PR fixes that and adds an e2e scenario to show that the changes work.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1157

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Ran e2e tests for authorization proxy server and a powerflex + authorization e2e test. All passing.

@jooseppi-luna jooseppi-luna merged commit 81dfe43 into main Feb 23, 2024
8 checks passed
jooseppi-luna added a commit that referenced this pull request Feb 27, 2024
* use auth namespace for nginx deployment name

* add test for auth proxy in different ns

* get rid of hardcoded auth ns

* Create csm_authorization_proxy_server_alt_ns.yaml

* fixtests

* update tests

* fix auth proxy deployment

---------

Co-authored-by: grosnj1 <[email protected]>
@shanmydell shanmydell deleted the auth-ns-fix branch June 11, 2024 10:32
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
* use auth namespace for nginx deployment name

* add test for auth proxy in different ns

* get rid of hardcoded auth ns

* Create csm_authorization_proxy_server_alt_ns.yaml

* fixtests

* update tests

* fix auth proxy deployment

---------

Co-authored-by: grosnj1 <[email protected]>
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.

3 participants