fix(forgejo): restore the initContainers key #54 lost, unblocking the apps Kustomization
#54 (secops F6) inserted the new fix-data-perms init container at the tolerations list indentation instead of under an initContainers key, and dropped the key itself. YAML still parsed (a list item with name/image/... is just a malformed toleration), so the merge was green, but the API rejects it: Deployment.apps "forgejo-runner-arm64" is invalid: spec.template.spec.tolerations[1].operator: Invalid value: "": operator must be Exists when `key` is empty That failed the *dry-run* of the whole Kustomization, so nothing in apps/home could be applied at all — including any secret rotation — for ~25 min. Nothing was pruned or broken in the cluster: the rejected revision never applied. Restores above the block; the container's own body is untouched, so F6's intent (re-own the PVC as 1000:1000 instead of chmod 666 on the socket) is preserved. Verified: yaml parses to tolerations=[dedicated/Equal/network/PreferNoSchedule], initContainers=[fix-data-perms], containers=[dind, runner]; server-side dry-run of this Deployment succeeds; server-side dry-run of all 116 non-Secret objects in apps/home reports no errors.
This commit is contained in:
parent
35610c8d13
commit
7c9faa0eec
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ spec:
|
|||
# No supplementalGroups: there is no host docker socket and no host
|
||||
# docker gid to match any more. The only daemon this runner talks to is
|
||||
# the privileged `dind` sidecar below.
|
||||
initContainers:
|
||||
# The runner container runs as uid 1000 (the image's own user) and needs
|
||||
# to read its registration and write the actions cache on this PVC.
|
||||
# Both were created by root before this change, so re-own them once per
|
||||
|
|
|
|||
Loading…
Reference in a new issue