Skip to content
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

Merged

Conversation

slashr
Copy link
Contributor

@slashr slashr commented Mar 23, 2023

Update example code snippet demonstrating use of existing Kubernetes SA to include the required parameters cluster and location. #1065

@slashr slashr requested review from a team, Jberlinsky and ericyz as code owners March 23, 2023 14:19
@apeabody
Copy link
Contributor

/gcbrun

Copy link
Contributor

@apeabody apeabody left a 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:

Let's clarify in the example, as these values are not used if not using an existing KSA.

@slashr
Copy link
Contributor Author

slashr commented Mar 24, 2023

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?

@apeabody
Copy link
Contributor

apeabody commented Mar 24, 2023

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.

@apeabody apeabody changed the title fix: Workload Identity Module - Add required parameters to example snippet chore: Workload Identity Module - Add required parameters to example snippet Mar 24, 2023
@apeabody apeabody changed the title chore: Workload Identity Module - Add required parameters to example snippet chore(docs): Workload Identity Module - Add required parameters to example snippet Mar 24, 2023
@apeabody apeabody merged commit f82b460 into terraform-google-modules:master Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants