From 7d1d5120fcd54bf1e81c3e3232588f4ef85222c5 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 21 Jan 2024 12:33:29 -0800 Subject: [PATCH] ops(dex): init --- k8s/system/dex/application.yaml | 28 ++++++++++++++++++++++++++++ k8s/system/dex/kustomization.yaml | 4 ++++ k8s/system/kustomization.yaml | 3 ++- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 k8s/system/dex/application.yaml create mode 100644 k8s/system/dex/kustomization.yaml diff --git a/k8s/system/dex/application.yaml b/k8s/system/dex/application.yaml new file mode 100644 index 00000000..ba3f8135 --- /dev/null +++ b/k8s/system/dex/application.yaml @@ -0,0 +1,28 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: dex + namespace: argocd +spec: + project: system + source: + repoURL: "https://charts.dexidp.io" + targetRevision: 0.15.* + chart: dex + helm: + valuesObject: + volumeMounts: + - mountPath: /etc/ssl/certs + name: etc-ssl-certs + readOnly: true + volumes: + - name: ca-certs + hostPath: + path: /etc/dex-ssl + type: DirectoryOrCreate + destination: + namespace: dex + name: in-cluster + syncPolicy: + syncOptions: + - ServerSideApply=true diff --git a/k8s/system/dex/kustomization.yaml b/k8s/system/dex/kustomization.yaml new file mode 100644 index 00000000..0b082ba2 --- /dev/null +++ b/k8s/system/dex/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- application.yaml \ No newline at end of file diff --git a/k8s/system/kustomization.yaml b/k8s/system/kustomization.yaml index a3bfa87f..93455aca 100644 --- a/k8s/system/kustomization.yaml +++ b/k8s/system/kustomization.yaml @@ -9,4 +9,5 @@ resources: - sops-secrets-operator - cloudflare-operator - metallb -- traefik \ No newline at end of file +- traefik +- dex \ No newline at end of file