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

fix: remove gitops ConfigManagement syncRevision field #179

Merged
merged 2 commits into from
Mar 30, 2022

Conversation

bharathkkb
Copy link
Member

@bharathkkb bharathkkb commented Mar 30, 2022

Looks like this syncRevision field should have been syncRev per https://cloud.google.com/anthos-config-management/docs/configmanagement-fields#configuring-git-repo.

syncRev defaults to HEAD so I don't think there is value in keeping it in config.

error: error validating "gitops/configsync/config-management.yaml": error validating data: ValidationError(ConfigManagement.spec.git): unknown field "syncRevision" in io.gke.configmanagement.v1.ConfigManagement.spec.git; if you choose to ignore these errors, turn validation off with --validate=false

@bharathkkb bharathkkb changed the title fix: gitops ConfigManagement syncRev field fix: remove gitops ConfigManagement syncRevision field Mar 30, 2022
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bharathkkb, morgante

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [bharathkkb,morgante]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot added the lgtm label Mar 30, 2022
@bharathkkb bharathkkb merged commit 783380c into main Mar 30, 2022
@bharathkkb bharathkkb deleted the bharathkkb-patch-3 branch March 30, 2022 23:51
@release-please release-please bot mentioned this pull request Mar 30, 2022
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