Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions deploy/repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ resources:
# update PATCH gets 422 "Commit signoff is enforced ... and cannot be
# disabled"). The 12 already-adopted repos had this true via LateInitialize;
# pinning it here makes every repo's update self-consistent and robust.
# - hasDownloads: false β€” GitHub has removed the downloads feature and no
# longer returns the field, so status.atProvider never carries it. The
# Terraform provider still defaults it to true, so any repo whose spec picked
# that default up through LateInitialize holds a value the API can never
# report back. That is an unresolvable diff: the provider sees spec != live on
# every reconcile and issues an update PATCH forever. Those PATCHes are then
# rejected wholesale (422, on the commit-signoff field), so NO declared
# setting reaches GitHub for that repository β€” visibility included. Pinning
# the field to the value the API actually reflects is what stops the diff, and
# therefore what keeps the rest of this file enforceable.
patches:
- target:
group: repo.github.m.upbound.io
Expand Down Expand Up @@ -65,3 +75,6 @@ patches:
- op: add
path: /spec/forProvider/webCommitSignoffRequired
value: true
- op: add
path: /spec/forProvider/hasDownloads
value: false
Loading