-
Notifications
You must be signed in to change notification settings - Fork 31
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 creating the secret optional #160
base: master
Are you sure you want to change the base?
Conversation
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.
@sdodsley this request seems reasonable to me, we already function fine with the secret missing (we just kinda sit there until it appears). Can you think of any issues this might cause?
@gaima8 I left a few comments if you'd be so kind as to address them, they're mostly just small doc changes. Thanks for your contribution!
pure-pso/README.md
Outdated
@@ -204,7 +204,7 @@ The following table lists the configurable parameters and their default values. | |||
| `flashblade.exportRules` | NFS Export Rules. Please refer the FlashBlade User Guide. | "" | | |||
| `flashblade.snapshotDirectoryEnabled` | Enable/Disable FlashBlade snapshots | `false` | | |||
| `orchestrator.name` | Orchestrator type, such as openshift, k8s | `k8s` | | |||
| *`arrays` | Array list of all the backend FlashArrays and FlashBlades | must be set by user, see an example below | | |||
| *`arrays` | Array list of all the backend FlashArrays and FlashBlades | may be set by user, see two examples below | |
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.
[nit] I'd just change it to "may be set by user, see examples below" (remove "two")
pure-pso/README.md
Outdated
@@ -250,6 +250,8 @@ The following table lists the configurable parameters and their default values. | |||
|
|||
*Examples: | |||
|
|||
1. Helm values | |||
To have helm create and manage the secret holding the API tokens use the following in your values file. |
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.
[nit] capitalize Helm, and end the sentence in a colon instead of period
pure-pso/README.md
Outdated
@@ -266,6 +268,40 @@ arrays: | |||
NFSEndPoint: "1.2.3.9" | |||
``` | |||
|
|||
2. Manual secret | |||
If you wish to manage the secret holding the API tokens yourself do the following; | |||
Create a kubernetes secret called `pure-provisioner-secret` with a single key `pure.json` containing json formatted like so |
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.
Create a kubernetes secret called `pure-provisioner-secret` with a single key `pure.json` containing json formatted like so | |
Create a Kubernetes secret called `pure-provisioner-secret` in the same namespace as your PSO installation with a single key `pure.json` containing json formatted like so: |
@Pure-AdamuKaapan Is this change going to mess up the helm schema? |
@sdodsley I think this would make it so that |
Hi, requested changes to the README made. |
Same as purestorage/helm-charts#258 but for the newer release.
My aim is to have the flux helm-controller install the chart, and it's impractical to pass the API tokens securely for the chart to create the secret.
A sealed-secret solves the problem of getting the values in but the chart will at best overwrite the unsealed secret.
I am very much open to ideas on how to handle the validation of
arrays
better.