Skip to content

Commit

Permalink
fix: Add volume for plugin and tmp folder
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy Chen <tommy351@gmail.com>
  • Loading branch information
tommy351 committed May 3, 2024
1 parent 4b0289b commit da2dea5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions manifests/base/argo-rollouts-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,18 @@ spec:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
resources:
limits:
ephemeral-storage: 1Gi
volumeMounts:
- name: plugin-bin
mountPath: /home/argo-rollouts/plugin-bin
securityContext:
runAsNonRoot: true
volumes:
- name: plugin-bin
emptyDir: {}
- name: tmp
emptyDir: {}
strategy:
type: RollingUpdate
11 changes: 11 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,14 @@ spec:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /home/argo-rollouts/plugin-bin
name: plugin-bin
securityContext:
runAsNonRoot: true
serviceAccountName: argo-rollouts
volumes:
- emptyDir: {}
name: plugin-bin
- emptyDir: {}
name: tmp
11 changes: 11 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,14 @@ spec:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /home/argo-rollouts/plugin-bin
name: plugin-bin
securityContext:
runAsNonRoot: true
serviceAccountName: argo-rollouts
volumes:
- emptyDir: {}
name: plugin-bin
- emptyDir: {}
name: tmp

0 comments on commit da2dea5

Please sign in to comment.