Skip to content

Commit

Permalink
chore: Add some empty dir volume moounts for the application controll…
Browse files Browse the repository at this point in the history
…er (#19474)

Closes #19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6. Create an empty dir volume mount for the cache to fix this.
Also, create an empty dir mount for `/tmp` just in case.

Signed-off-by: Andrii Korotkov <[email protected]>
  • Loading branch information
andrii-korotkov-verkada committed Aug 11, 2024
1 parent 4a7a82c commit 1c6a22e
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ spec:
mountPath: /home/argocd
- name: argocd-cmd-params-cm
mountPath: /home/argocd/params
- name: argocd-application-controller-kube-cache
mountPath: /home/ubuntu/.kube/cache
- name: argocd-application-controller-tmp
mountPath: /tmp
serviceAccountName: argocd-application-controller
affinity:
podAntiAffinity:
Expand All @@ -255,6 +259,10 @@ spec:
volumes:
- emptyDir: {}
name: argocd-home
- emptyDir: {}
name: argocd-application-controller-kube-cache
- emptyDir: {}
name: argocd-application-controller-tmp
- name: argocd-repo-server-tls
secret:
secretName: argocd-repo-server-tls
Expand Down
8 changes: 8 additions & 0 deletions manifests/core-install.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions manifests/ha/install.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions manifests/ha/namespace-install.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions manifests/install.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions manifests/namespace-install.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c6a22e

Please sign in to comment.