53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
# ==============================
|
|
# Kratos Application
|
|
# ==============================
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: kratos-app
|
|
namespace: argocd
|
|
spec:
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
enabled: true
|
|
project: default
|
|
source:
|
|
chart: kratos
|
|
repoURL: 'https://k8s.ory.sh/helm/charts'
|
|
targetRevision: 0.58.0
|
|
helm:
|
|
valuesObject:
|
|
statefulSet:
|
|
extraArgs:
|
|
- --config
|
|
- /etc/config/custom/kratos.yaml
|
|
deployment:
|
|
extraVolumes:
|
|
- name: kratos-custom-config
|
|
configMap:
|
|
name: kratos-config
|
|
extraVolumeMounts:
|
|
- name: kratos-custom-config
|
|
mountPath: /etc/config/custom
|
|
readOnly: true
|
|
extraEnv:
|
|
- name: DSN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: postgres-kratos-app
|
|
key: uri
|
|
extraArgs:
|
|
- --config
|
|
- /etc/config/custom/kratos.yaml
|
|
kratos:
|
|
log:
|
|
leak_sensitive_values: true
|
|
automigration:
|
|
enabled: true
|
|
image:
|
|
repository: shadowlegend/ory-kratos
|
|
tag: master-arm64
|
|
destination:
|
|
namespace: default
|
|
server: 'https://kubernetes.default.svc' |