Skip to content

Use a different image for argocd plugin #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions examples/gitops/install/patch-argocd-repo-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ spec:
spec:
containers:
- name: my-plugin
command: [/var/run/argocd/argocd-cmp-server] # Entrypoint should be Argo CD lightweight CMP server i.e. argocd-cmp-server
image: kcllang/kcl # This can be off-the-shelf or custom-built image
command: [/tini]
args:
- /var/run/argocd/argocd-cmp-server
# - --
# - --loglevel=debug
image: kcllang/kcllang-cmp-plugin
securityContext:
runAsNonRoot: true
runAsUser: 999
Expand All @@ -17,7 +21,7 @@ spec:
- mountPath: /home/argocd/cmp-server/config/plugin.yaml
subPath: plugin.yaml
name: kcl-plugin-config
# Starting with v2.4, do NOT mount the same tmp volume as the repo-server container. The filesystem separation helps
# Starting with v2.4, do NOT mount the same tmp volume as the repo-server container. The filesystem separation helps
# mitigate path traversal attacks.
- mountPath: /tmp
name: cmp-tmp
Expand Down