Skip to content

Commit

Permalink
Add ArgoCD KCL CMP
Browse files Browse the repository at this point in the history
  • Loading branch information
MacroPower committed Jul 18, 2024
1 parent 5a25da1 commit bedf03e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions applications/base/argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ configs:
- profile
- email
cmp:
create: true
plugins:
kcl:
version: v1.0
generate:
command: [sh]
args: [-c, kcl]

resource.exclusions: |
- apiGroups:
- cilium.io
Expand Down Expand Up @@ -333,6 +342,30 @@ repoServer:
requests:
cpu: 500m
memory: 500Mi
extraContainers:
- name: kcl-plugin
command: [/var/run/argocd/argocd-cmp-server]
image: kcllang/kcl:v0.9.1
securityContext:
runAsNonRoot: true
runAsUser: 999
volumeMounts:
- mountPath: /var/run/argocd
name: var-files
- mountPath: /home/argocd/cmp-server/plugins
name: plugins
# Remove this volumeMount if you've chosen to bake the config file into the sidecar image.
- mountPath: /home/argocd/cmp-server/config/plugin.yaml
subPath: kcl.yaml
name: kcl-plugin-config
- mountPath: /tmp
name: cmp-tmp
volumes:
- name: kcl-plugin-config
configMap:
name: argocd-cmp-cm
- name: cmp-tmp
emptyDir: {}

applicationSet:
replicaCount: 3
Expand Down

0 comments on commit bedf03e

Please sign in to comment.