This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: argocd-dex
|
||||
namespace: argocd
|
||||
spec:
|
||||
replicas: 0
|
||||
@@ -4,7 +4,7 @@ kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
- argocd-image-updater
|
||||
- argocd-cmp-cm.yaml
|
||||
# - argocd-cmp-cm.yaml
|
||||
- ingressroute.yaml
|
||||
- argocd-gitea-token.sealed.secret.yaml
|
||||
- argocd-notifications-secret.sealed.secret.yaml
|
||||
@@ -12,17 +12,18 @@ resources:
|
||||
- argocd-secret.sealed.secret.yaml
|
||||
- repo-creds-external.sealed.secret.yaml
|
||||
- repo-creds-internal.sealed.secret.yaml
|
||||
- argocd-age-key.sealed.secret.yaml
|
||||
- ksops-cmp-config.yaml
|
||||
# - argocd-age-key.sealed.secret.yaml
|
||||
# - ksops-cmp-config.yaml
|
||||
|
||||
patches:
|
||||
- path: argocd-cm-patch.yaml
|
||||
- path: argocd-server-patch.yaml
|
||||
# - path: argocd-server-patch.yaml
|
||||
- path: argocd-cmd-params-cm-patch.yaml
|
||||
- path: argocd-rbac-cm-patch.yaml
|
||||
- path: argocd-notifications-cm-patch.yaml
|
||||
- path: repo-server-patch.yaml
|
||||
- path: disable-bundled-redis-patch.yaml
|
||||
- path: disable-bundled-dex-patch.yaml
|
||||
- path: argocd-server-service-patch.yaml
|
||||
target:
|
||||
kind: Service
|
||||
|
||||
@@ -47,37 +47,37 @@ spec:
|
||||
name: plugins
|
||||
- mountPath: /tmp
|
||||
name: lovely-tmp
|
||||
- name: ksops
|
||||
image: viaductoss/ksops:v4.3.2
|
||||
command:
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
env:
|
||||
- name: SOPS_AGE_KEY_FILE
|
||||
value: /age/key.txt
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 999
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/argocd
|
||||
name: var-files
|
||||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
- mountPath: /home/argocd/cmp-server/config/plugin.yaml
|
||||
name: argocd-cmp-cm
|
||||
subPath: ksops.yaml
|
||||
- mountPath: /age
|
||||
name: age-key
|
||||
readOnly: true
|
||||
- mountPath: /tmp
|
||||
name: cmp-tmp
|
||||
# - name: ksops
|
||||
# image: viaductoss/ksops:v4.3.2
|
||||
# command:
|
||||
# - /var/run/argocd/argocd-cmp-server
|
||||
# env:
|
||||
# - name: SOPS_AGE_KEY_FILE
|
||||
# value: /age/key.txt
|
||||
# securityContext:
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 999
|
||||
# volumeMounts:
|
||||
# - mountPath: /var/run/argocd
|
||||
# name: var-files
|
||||
# - mountPath: /home/argocd/cmp-server/plugins
|
||||
# name: plugins
|
||||
# - mountPath: /home/argocd/cmp-server/config/plugin.yaml
|
||||
# name: argocd-cmp-cm
|
||||
# subPath: ksops.yaml
|
||||
# - mountPath: /age
|
||||
# name: age-key
|
||||
# readOnly: true
|
||||
# - mountPath: /tmp
|
||||
# name: cmp-tmp
|
||||
volumes:
|
||||
- name: argocd-cmp-cm
|
||||
configMap:
|
||||
name: argocd-cmp-cm
|
||||
- name: age-key
|
||||
secret:
|
||||
secretName: argocd-age-key
|
||||
- name: cmp-tmp
|
||||
emptyDir: {}
|
||||
# - name: argocd-cmp-cm
|
||||
# configMap:
|
||||
# name: argocd-cmp-cm
|
||||
# - name: age-key
|
||||
# secret:
|
||||
# secretName: argocd-age-key
|
||||
# - name: cmp-tmp
|
||||
# emptyDir: {}
|
||||
- name: lovely-tmp
|
||||
emptyDir: {}
|
||||
|
||||
Reference in New Issue
Block a user