diff --git a/manifest/overlays/production/disable-bundled-dex-patch.yaml b/manifest/overlays/production/disable-bundled-dex-patch.yaml new file mode 100644 index 0000000..fcb2243 --- /dev/null +++ b/manifest/overlays/production/disable-bundled-dex-patch.yaml @@ -0,0 +1,7 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: argocd-dex + namespace: argocd +spec: + replicas: 0 diff --git a/manifest/overlays/production/kustomization.yaml b/manifest/overlays/production/kustomization.yaml index b16e40c..c9f2bcc 100644 --- a/manifest/overlays/production/kustomization.yaml +++ b/manifest/overlays/production/kustomization.yaml @@ -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 diff --git a/manifest/overlays/production/repo-server-patch.yaml b/manifest/overlays/production/repo-server-patch.yaml index b92c425..37191e9 100644 --- a/manifest/overlays/production/repo-server-patch.yaml +++ b/manifest/overlays/production/repo-server-patch.yaml @@ -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: {}