cleanup: remove runAsUser=0, permissions now fixed in CI

This commit is contained in:
2026-04-20 00:00:35 +02:00
parent 3aa114321a
commit 294c80bbcf
@@ -15,8 +15,6 @@ spec:
spec: spec:
initContainers: initContainers:
- name: artifact-fetch - name: artifact-fetch
securityContext:
runAsUser: 0
image: ghcr.io/fluxcd/flux-cli:v2.8.5 image: ghcr.io/fluxcd/flux-cli:v2.8.5
env: env:
- name: REGISTRY_TOKEN - name: REGISTRY_TOKEN
@@ -31,7 +29,6 @@ spec:
flux pull artifact oci://forgejo.net-scope.org/hans/hugo-site:latest \ flux pull artifact oci://forgejo.net-scope.org/hans/hugo-site:latest \
--output=/public \ --output=/public \
--creds=hans:${REGISTRY_TOKEN} --creds=hans:${REGISTRY_TOKEN}
chmod -R 755 /public
volumeMounts: volumeMounts:
- name: public - name: public
mountPath: /public mountPath: /public