-
Notifications
You must be signed in to change notification settings - Fork 916
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
Fix #2229 - dex-passwords in common/dex/base #2588
Conversation
The dex-passwords secret didn't have the secret defined properly and the secret wasn't added to the dex kustomization file.
Are you sure that the string is allowed like this? i am under the impression, that we have to encode it since it contains the dollar sign. "You can define the Secret object in a manifest first, in JSON or YAML format, and then create that object. The Secret resource contains two maps: data and stringData. The data field is used to store arbitrary data, encoded using base64. The stringData field is provided for convenience, and it allows you to provide the same data as unencoded strings. The keys of data and stringData must consist of alphanumeric characters, -, _ or .." |
I was able to verify that this form works:
But, I agree that even if this works, we should comply with the documentation because in future the K8s system can be more restrictive and more in-sync with the docs. I've made a change to define the value encoded with base64. |
Contributions: * kubeflow/manifests#2544 * kubeflow/manifests#2588 * kubeflow/manifests#2516 * kubeflow/manifests#2517 * kubeflow/manifests#2229 (review) * kubeflow/kubeflow#7437 (comment) * https://kubeflow.slack.com/archives/CKBA5D0MU/p1702465109437099 * https://kubeflow.slack.com/archives/C01A7RYEYMB/p1702556772959959 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009
Ah, I see that this wasn't necessary... The docs talk about the
With that in mind, I'm more in favor of going with |
f78d659
to
8aafa9a
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juliusvonkohout, kromanow94 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Contributions: * kubeflow/manifests#2544 * kubeflow/manifests#2588 * kubeflow/manifests#2516 * kubeflow/manifests#2517 * kubeflow/manifests#2229 (review) * kubeflow/kubeflow#7437 (comment) * https://kubeflow.slack.com/archives/CKBA5D0MU/p1702465109437099 * https://kubeflow.slack.com/archives/C01A7RYEYMB/p1702556772959959 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009
The dex-passwords secret has not been defined properly and the secret wasn't added to the dex kustomization file.
Description of your changes:
The changes are done as discussed in #2229 (review).