From 7c9faa0eec606583414b09e22b8c6675defc6c78 Mon Sep 17 00:00:00 2001 From: Sirius DevOps Date: Fri, 27 Nov 2026 00:46:16 -0500 Subject: [PATCH] fix(forgejo): restore the initContainers key #54 lost, unblocking the apps Kustomization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #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. --- apps/base/forgejo/runner-arm64.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/base/forgejo/runner-arm64.yaml b/apps/base/forgejo/runner-arm64.yaml index 0b86596..477ca8d 100644 --- a/apps/base/forgejo/runner-arm64.yaml +++ b/apps/base/forgejo/runner-arm64.yaml @@ -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