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

Hardcoded projects in compute.trustedImageProjects org policy override in hub-env #845

Open
obriensystems opened this issue Feb 21, 2024 · 0 comments

Comments

@obriensystems
Copy link
Collaborator

Fixing
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/main/solutions/project/hub-env/org-policies/exceptions/compute-trusted-image-projects-except-hub-project.yaml#L41

      values:
        - "projects/fortigcp-project-001"
        - "projects/windows-cloud"

should be kpt rendered via

      values:
        - under:projects/PROJECT_ID # kpt-set: under:projects/${hub-project-id}

There are 3 more similar hardcoding issues i will raise for https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/main/solutions/project/hub-env/org-policies/exceptions

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

No branches or pull requests

1 participant