-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add auth v2 e2e tests using PowerMax mount credentials #892
base: usr/spark/mount-credentials
Are you sure you want to change the base?
Conversation
* Add new powermax and reverseproxy cr * Add dynamic secret mounting for reverseproxy By providing the secret name, we assume that we are using the new secret configuration for PowerMax. This propagates the information and sets the useSecret to true in the reverseProxy. Also, it automatically creates the volume and mount for the reverseProxy. * Dynamically mount either the configMap or secret for PowerMax * Remove unused code * Add unit tests for PowerMax secret * Fix deployment of reverse proxy sidecar with secret * Update use secret environment variable * Update unit tests * Update reverse proxy controller yaml * Update powermax secret variable processing * Add PowerMax secret e2e test * Update steps def for e2e tests * gofumpt all files * Address validation errors * Cleanup variable setting for PowerMax secret * Address validation errors * Address PR comments and add e2e test * Update copyrights
* Dynamically mount config params in the reverse proxy Also, dynamically adds the reverse proxy port to the config params * Dynamically mount config params in the reverse proxy for non-sidecar * Clean up dynamically adding parameters and add unit tests * Address lint errors * Address gosec errors * Cleanup duplicate code and remove not needed sections * Address lint errors
* Dynamically mount secret or config map on Powermax observability * Remove unused code * Add PowerMax observability mount credentials unit tests * Add PowerMax observability mount credentials e2e test * Ensure that minimal manifest with mount credentials works Adds e2e test to cover this scenario * Generalize min version for Mount Credential variable
@@ -6,7 +6,7 @@ env: | |||
value: /etc/config/configmap | |||
- name: X_CSI_REVPROXY_CONFIG_FILE_NAME | |||
value: config.yaml | |||
- name: X_CSI_REVRPOXY_IN_CLUSTER | |||
- name: X_CSI_REVPROXY_IN_CLUSTER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: I don't think we should update the environment variable in older releases because that change wouldn't be in the code parsing, right?
backupEndpoint: "https://REPLACE_AUTH_ENDPOINT" | ||
managementServers: | ||
- endpoint: "https://REPLACE_AUTH_ENDPOINT" | ||
username: REPLACE_USERNAME |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Don't replace username
and password
(leave as -
) so that there isn't any confusion with what needs to be added in the secret.
e6d958f
to
02983b8
Compare
Description
Add E2E tests that installs the Powermax driver using mount credentials and enables Authorization v2.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration