mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
ops(dex): init
This commit is contained in:
parent
6103dfe0f1
commit
7d1d5120fc
3 changed files with 34 additions and 1 deletions
28
k8s/system/dex/application.yaml
Normal file
28
k8s/system/dex/application.yaml
Normal file
|
|
@ -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
|
||||
4
k8s/system/dex/kustomization.yaml
Normal file
4
k8s/system/dex/kustomization.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- application.yaml
|
||||
|
|
@ -10,3 +10,4 @@ resources:
|
|||
- cloudflare-operator
|
||||
- metallb
|
||||
- traefik
|
||||
- dex
|
||||
Loading…
Add table
Add a link
Reference in a new issue