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

Adds the required field spec.projectID for ProviderConfig creation … #320

Conversation

jastang
Copy link
Contributor

@jastang jastang commented Jun 14, 2023

…in Upbound

Description of your changes

In Upbound, package/auth.yaml is used to configure what fields are exposed to create ProviderConfig objects. The required field spec.projectID was missing for GCP.

-->
Fixes #https://github.com/upbound/squad-upbound-cloud/issues/1248

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

  • Built and pushed a package with this change and updated my personal Configuration's dependencies in Upbound to use the artifact.
  • Verified the projectID field is exposed and a ProviderConfig can be created.
    Screen Shot 2023-06-14 at 11 20 10 AM
    Screen Shot 2023-06-14 at 11 27 09 AM

…in Upbound

Signed-off-by: Jason Tang <jason@upbound.io>
@jastang
Copy link
Contributor Author

jastang commented Jun 14, 2023

There are some documentation improvements that we can make here before we merge. However, I was able to confirm that the control plane is successfully provisioning external infrastructure in GCP.

Signed-off-by: Jason Tang <jason@upbound.io>
@jastang jastang marked this pull request as ready for review June 14, 2023 21:14
@@ -33,6 +33,7 @@ sources:
ref: spec.credentials.secretRef
showFields:
- spec.credentials.secretRef
- spec.projectID
Copy link
Contributor Author

@jastang jastang Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ulucinar @sergenyalcin for context, this and L93 is the core fix.

Everything else is a quick refresh of the configurable documentation in that this enables in the Console - I acknowledge that the content is not optimal, but addresses some gaps in the OIDC configuration process for the user which we will iterate on.

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jastang.

@jastang jastang merged commit 2dd9242 into crossplane-contrib:main Jun 15, 2023
9 checks passed
@jastang jastang deleted the missing-required-field-for-providerconfig branch June 15, 2023 14:11
@github-actions
Copy link

Successfully created backport PR #322 for release-0.33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants