Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 2bc32e9

Browse files
committed
gitops addon template fix
Signed-off-by: Xiangjing Li <[email protected]>
1 parent e8e6f34 commit 2bc32e9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deploy/olm-catalog/multicluster-operators-subscription/manifests/gitops-addon.addonTemplates.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ spec:
3030
image: quay.io/stolostron/multicloud-integrations:latest
3131
imagePullPolicy: IfNotPresent
3232
securityContext:
33-
privileged: false
3433
readOnlyRootFilesystem: true
3534
allowPrivilegeEscalation: false
3635
runAsNonRoot: true
37-
runAsUser: 1000
3836
capabilities:
3937
drop:
4038
- ALL
39+
volumeMounts:
40+
- mountPath: /tmp
41+
name: tmp-volume
4142
command:
4243
- /usr/local/bin/gitopsaddon
4344
- --leader-election-lease-duration=137s
@@ -58,6 +59,9 @@ spec:
5859
value: '{{RECONCILE_SCOPE}}'
5960
- name: ACTION
6061
value: '{{ACTION}}'
62+
volumes:
63+
- name: tmp-volume
64+
emptyDir: {}
6165
- kind: ServiceAccount
6266
apiVersion: v1
6367
metadata:

0 commit comments

Comments
 (0)