command
This commit is contained in:
31
utils/assets/templates/hydra.yaml
Normal file
31
utils/assets/templates/hydra.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
{{- if index .Values "hydra" "enabled" }}
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: hydra-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/hydra`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: {{ .Release.Name }}-hydra-public.{{ .Release.Namespace }}
|
||||
passHostHeader: true
|
||||
port: 4444
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: hydra-secret
|
||||
data:
|
||||
dsn: bWVtb3J5
|
||||
secretsCookie: U0prcFlUeDFZZWhPMFEyc3UweWlwcDdmZ1BaRmc2ajA=
|
||||
secretsSystem: M3FwWnlpemIzbXc2cE80Q1l3Q1MyUVFmbXdOeVFpRzE=
|
||||
|
||||
|
||||
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user