Skip to content

Commit

Permalink
fix: Add volume for plugin and tmp folder (argoproj#3546)
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy Chen <[email protected]>
  • Loading branch information
tommy351 authored and zachaller committed Jun 17, 2024
1 parent 6937996 commit 0e304fb
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions manifests/base/argo-rollouts-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,20 @@ spec:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
resources:
limits:
ephemeral-storage: 1Gi
volumeMounts:
- name: plugin-bin
mountPath: /home/argo-rollouts/plugin-bin
- name: tmp
mountPath: /tmp
securityContext:
runAsNonRoot: true
volumes:
- name: plugin-bin
emptyDir: {}
- name: tmp
emptyDir: {}
strategy:
type: RollingUpdate
13 changes: 13 additions & 0 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16757,6 +16757,9 @@ spec:
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 4
resources:
limits:
ephemeral-storage: 1Gi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand All @@ -16765,6 +16768,16 @@ spec:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /home/argo-rollouts/plugin-bin
name: plugin-bin
- mountPath: /tmp
name: tmp
securityContext:
runAsNonRoot: true
serviceAccountName: argo-rollouts
volumes:
- emptyDir: {}
name: plugin-bin
- emptyDir: {}
name: tmp
13 changes: 13 additions & 0 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ spec:
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 4
resources:
limits:
ephemeral-storage: 1Gi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand All @@ -421,6 +424,16 @@ spec:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /home/argo-rollouts/plugin-bin
name: plugin-bin
- mountPath: /tmp
name: tmp
securityContext:
runAsNonRoot: true
serviceAccountName: argo-rollouts
volumes:
- emptyDir: {}
name: plugin-bin
- emptyDir: {}
name: tmp

0 comments on commit 0e304fb

Please sign in to comment.