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