-
Notifications
You must be signed in to change notification settings - Fork 17
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
charts/csi-powermax: Migrate reverse proxy config from ConfigMap to Secret #608
Open
lukeatdell
wants to merge
87
commits into
usr/spark/powermax-secret-feature
Choose a base branch
from
usr/spark/proxy-secret
base: usr/spark/powermax-secret-feature
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+130
−25
Open
Changes from 82 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
8647018
Remove mode: StandAlone from powermax reverseproxy config.yaml (#562)
KshitijaKakde 0eaee31
powermax endpoint update (#570)
nitesh3108 589e791
Mounting secrets as volumes
abhi16394 41f3276
update environment variable name
abhi16394 62099f6
update environment variable name
abhi16394 d4586b1
Mount volumes to reverseproxy container
abhi16394 a20b0e2
Add reverseproxy secret volume
abhi16394 43bc853
Update reverseproxy environment name
abhi16394 411f78a
Mount secret as volumes
abhi16394 665ce3d
Update controller.yaml
abhi16394 250113d
Update reverseproxy.yaml
abhi16394 f31cb1b
Update node.yaml
abhi16394 6a61840
remove old configmap
abhi16394 b349977
remove configmap
abhi16394 734bd55
remove older reverseproxy configmaps
abhi16394 f255790
remove configmap volume
abhi16394 21b5763
remove secret variable
abhi16394 f679774
remove secret references
abhi16394 bfd2d93
remove username and password
abhi16394 86667ec
Update secret path
abhi16394 bd58beb
Update secret path
abhi16394 7cdb2ff
Update node.yaml
abhi16394 dc4053b
Update reverseproxy.yaml
abhi16394 c359635
Update controller.yaml
abhi16394 ce09e27
Update reverseproxy.yaml
abhi16394 8336c46
Update controller.yaml
abhi16394 c8bc6c9
Update controller.yaml
abhi16394 aac66a6
Update reverseproxy.yaml
abhi16394 3557da2
Update reverseproxy.yaml
abhi16394 6d47938
Update controller.yaml
abhi16394 0e5092f
Update controller.yaml
abhi16394 5827676
Update reverseproxy.yaml
abhi16394 2f4cadb
Update reverseproxy.yaml
abhi16394 ca3e6a5
Update controller.yaml
abhi16394 522c5b6
Update reverseproxy.yaml
abhi16394 b990374
Update controller.yaml
abhi16394 6fc01ff
Update node.yaml
abhi16394 5c4b468
Update controller.yaml
abhi16394 8ea3ded
Update controller.yaml
abhi16394 fbff444
Update reverseproxy.yaml
abhi16394 c5deb32
Update controller.yaml
abhi16394 0094d2f
Update reverseproxy.yaml
abhi16394 10779c4
Update reverseproxy.yaml
abhi16394 dd785d2
Update controller.yaml
abhi16394 ec7e52c
Update controller.yaml
abhi16394 3d2b651
Update node.yaml
abhi16394 aa494a9
Update reverseproxy.yaml
abhi16394 ccdb630
Update controller.yaml
abhi16394 36c8f5a
Add secret name variable for reverseproxy
abhi16394 e6ba336
add username and password to driver from secret
abhi16394 78ea07b
Update node.yaml
abhi16394 d0facfa
Update values.yaml
abhi16394 863e5ae
Update controller.yaml
abhi16394 6e20326
Update controller.yaml
abhi16394 efde73b
Update node.yaml
abhi16394 2f81973
Update reverseproxy.yaml
abhi16394 672999f
Update controller.yaml
abhi16394 80aed9d
add username and password variables
abhi16394 4e423d2
add username and password variables
abhi16394 0288bfa
Update controller.yaml
abhi16394 0d4d459
Update controller.yaml
abhi16394 628fe40
Update node.yaml
abhi16394 4437b3a
Revert "remove configmap"
lukeatdell 74a35af
restore backward compat and update proxy secret
lukeatdell 4800a95
remove unused X_CSI_POWERMAX_ENDPOINT
lukeatdell fb60b08
simplify logic for switching btwn secret and cm.
lukeatdell e493b05
create rev proxy secret dynamically
lukeatdell 3bc970a
rename secret template file
lukeatdell 0168069
add newline
lukeatdell 33a1310
remove dynamic secret.
lukeatdell 5466ae8
update secret usage var name for clarity
lukeatdell c478c06
Merge branch 'main' into usr/spark/proxy-secret
lukeatdell 8b06726
update volume mount path for secret
lukeatdell ad45ead
simplify logic and add proxy secret to controller and node containers
lukeatdell 5d1fe44
deprecate managementServers, storageArrays, and defaultCredentialsSec…
lukeatdell ccc1865
fix bug related to secret file name
lukeatdell 39af22e
Merge branch 'release-v1.14.0' into usr/spark/proxy-secret
lukeatdell 6b78f99
consolidate secret file path to a single env var
lukeatdell 4f89c43
mount powermax-config-params in the reverse proxy ctr.
lukeatdell 3cba131
bump image, value, and chart versions
lukeatdell d92583a
Revert commit 4f89c43 in favor of one change per PR.
lukeatdell f69fdae
PR comments: tdawe
lukeatdell 2b7f2de
refactor use of defaultCredentialsSecret.
lukeatdell c60a9e7
update default value for defaultCredsSecret for consistency with oper…
lukeatdell e151657
update images in dev to "nightly"
lukeatdell e714910
PR comments: tdawe
lukeatdell fe96d05
little syntax fix
lukeatdell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
10 changes: 10 additions & 0 deletions
10
charts/csi-powermax/charts/csireverseproxy/templates/configmap.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
{{- /* | ||
Deprecation notice: use of reverseproxy-config ConfigMap is deprecated and will | ||
be removed in a future release. The ConfigMap remains for backward compatibility | ||
usage only. | ||
*/}} | ||
{{- /* | ||
Use the ConfigMap only if the secretName value is empty or the key is not found | ||
*/}} | ||
{{- if or (not (hasKey .Values "secretName")) (empty .Values.secretName) }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Release.Name }}-reverseproxy-config | ||
namespace: {{ .Release.Namespace }} | ||
data: | ||
{{ tpl (.Files.Glob "conf/config.yaml").AsConfig . | indent 2 }} | ||
{{- end }} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
image: quay.io/dell/container-storage-modules/csipowermax-reverseproxy:v2.12.0 | ||
image: quay.io/dell/container-storage-modules/csipowermax-reverseproxy:v2.13.0 | ||
port: 2222 | ||
|
||
# TLS secret which is used for setting up the proxy HTTPS server | ||
# Don't change this value unless really necessary | ||
# If this value is modified, then the installation script will have to be modified | ||
tlsSecret: "csirevproxy-tls-secret" | ||
|
||
# Name of the reverseproxy secret as a Kubernetes resource, containing | ||
# details required for connecting the csi-powermax driver to Unisphere for | ||
# PowerMax endpoints. | ||
# Default value: "" | ||
# Example: "powermax-reverseproxy-secret" | ||
secretName: "" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Nice use of deprecation comments throughout. Will help when we remove these parameters in a future release.