-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
chore(docs): Workload Identity Module - Add required parameters to example snippet #1594
chore(docs): Workload Identity Module - Add required parameters to example snippet #1594
Conversation
/gcbrun |
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.
Thanks for the contribution @slashr!
We can add something to the example, however it appears these are only required if using existing KSA:
- https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/master/modules/workload-identity/variables.tf#L39
- https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/master/modules/workload-identity/main.tf#L67
Let's clarify in the example, as these values are not used if not using an existing KSA.
Hi @apeabody Thanks for your feedback. The variables are already added to the specific code snippet that's under the "Using an existing Kubernetes Service Account" section. If that's not explicit enough, do you suggest adding an additional comment next to the variables reemphasising that those variables are only meant for existing k8s service account usage? |
Thanks @slashr, yes, I see now they are under just the "Using an existing Kubernetes Service Account" section. That looks good enough to me. |
Update example code snippet demonstrating use of existing Kubernetes SA to include the required parameters
cluster
andlocation
. #1065