Applied patch in-hope to fix ArgoCD with helm + kustomize
This commit is contained in:
@@ -13,6 +13,12 @@ configs:
|
||||
|
||||
cmp:
|
||||
create: true
|
||||
plugins:
|
||||
kustomize-build-with-helm:
|
||||
generate:
|
||||
command: [ sh, -c ]
|
||||
args: [ kustomize build --enable-helm ]
|
||||
|
||||
params:
|
||||
controller.diff.server.side: true
|
||||
server.insecure: false
|
||||
@@ -96,6 +102,28 @@ repoServer:
|
||||
memory: 256Mi
|
||||
limits:
|
||||
memory: 2Gi
|
||||
extraContainers:
|
||||
- name: kustomize-build-with-helm
|
||||
command:
|
||||
- argocd-cmp-server
|
||||
image: '{{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}'
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 999
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
capabilities:
|
||||
drop: [ ALL ]
|
||||
volumeMounts:
|
||||
- name: plugins
|
||||
mountPath: /home/argocd/cmp-server/plugins
|
||||
- name: cmp-kustomize-build-with-helm
|
||||
mountPath: /home/argocd/cmp-server/config/plugin.yaml
|
||||
subPath: kustomize-build-with-helm.yaml
|
||||
- mountPath: /tmp
|
||||
name: cmp-tmp
|
||||
|
||||
applicationSet:
|
||||
replicas: 2
|
||||
|
||||
Reference in New Issue
Block a user