mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
50 lines
No EOL
1.3 KiB
YAML
50 lines
No EOL
1.3 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: dex
|
|
namespace: argocd
|
|
spec:
|
|
project: system
|
|
sources:
|
|
- repoURL: "https://charts.dexidp.io"
|
|
targetRevision: 0.15.*
|
|
chart: dex
|
|
helm:
|
|
valuesObject:
|
|
ingress:
|
|
enabled: true
|
|
hosts:
|
|
- host: dex.gensokyo.zone
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
tls:
|
|
- hosts:
|
|
- dex.gensokyo.zone
|
|
secretName: dex-tls
|
|
service:
|
|
type: LoadBalancer
|
|
configSecret:
|
|
name: dex-config
|
|
create: false
|
|
volumeMounts:
|
|
- mountPath: /etc/ssl/certs
|
|
name: etc-ssl-certs
|
|
readOnly: true
|
|
- mountPath: /etc/dex/tls
|
|
name: etc-ssl-certs
|
|
readOnly: true
|
|
volumes:
|
|
- name: etc-ssl-certs
|
|
hostPath:
|
|
path: /etc/dex-ssl
|
|
type: DirectoryOrCreate
|
|
- repoURL: "https://github.com/gensokyo-zone/infrastructure"
|
|
path: k8s/system/dex/manifests
|
|
targetRevision: main
|
|
destination:
|
|
namespace: dex
|
|
name: in-cluster
|
|
syncPolicy:
|
|
syncOptions:
|
|
- ServerSideApply=true |