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

feat: Change template annotation to use k8s-style casing #352

Conversation

julianKatz
Copy link
Contributor

In open-policy-agent/gatekeeper#2734 (comment) the decision was made to change the sync data anotation casing from requiresSyncData to requires-sync-data. This better fits k8s standards.

This PR updates gatekeeper-library templates with the new annotation key.

In open-policy-agent/gatekeeper#2734 (comment)
the decision was made to change the sync data anotation casing from
`requiresSyncData` to `requires-sync-data`.  This better fits k8s
standards.

This PR updates gatekeeper-library templates with the new annotation
key.

Signed-off-by: juliankatz <juliankatz@google.com>
Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

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 @julianKatz! - The CI is asking for a make generate generate-website-docs generate-artifacthub-artifacts - however I suspect that it will block on changing the already released template versions, so we'll probably need to bump the relevant template patch versions and release as new template versions.

@@ -5,7 +5,7 @@ metadata:
annotations:
metadata.gatekeeper.sh/title: "Horizontal Pod Autoscaler"
metadata.gatekeeper.sh/version: 1.0.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
metadata.gatekeeper.sh/version: 1.0.0
metadata.gatekeeper.sh/version: 1.0.1

@julianKatz
Copy link
Contributor Author

I'm going to let @apeabody take the lead here and close this PR.

@julianKatz julianKatz closed this Jun 12, 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

3 participants