From 7e67328e219c63ad20f390962f78de68c096350f Mon Sep 17 00:00:00 2001 From: Balthazar Rouberol Date: Fri, 31 May 2024 10:31:50 +0200 Subject: [PATCH] Set runuser uid/gid as 10001 to match the chart default values The operator chart default values ensure that the pod UID and GID are both set to 10001. See https://github.com/cloudnative-pg/charts/blob/cloudnative-pg-v0.21.4/charts/cloudnative-pg/values.yaml#L102-L103 Bug: T364795 --- blubber-operator.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blubber-operator.yaml b/blubber-operator.yaml index 45b3822..e682a4f 100644 --- a/blubber-operator.yaml +++ b/blubber-operator.yaml @@ -23,6 +23,9 @@ variants: command: ['go', 'build', '-o', './manager', './cmd/manager/main.go'] operator: base: docker-registry.wikimedia.org/bookworm:latest + runs: + uid: 10001 + gid: 10001 copies: - from: build source: /build/manager -- GitLab