forked from kyma-project/kyma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dex-config-map.yaml
64 lines (61 loc) · 1.96 KB
/
dex-config-map.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
apiVersion: v1
kind: ConfigMap
metadata:
name: dex-config
namespace: {{ .Release.Namespace }}
labels:
app: dex
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
data:
config.yaml: |
issuer: https://dex.{{ .Values.global.domainName }}
storage:
type: kubernetes
config:
inCluster: true
logger:
level: "debug"
format: "text"
web:
http: 0.0.0.0:{{ .Values.containerPort }}
oauth2:
skipApprovalScreen: true
responseTypes: ["code", "token", "id_token"]
staticClients:
- id: {{ .Values.oidc.kymaClient }}
name: 'Kyma Client'
redirectURIs:
- 'http://127.0.0.1:5555/callback'
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
trustedPeers:
- kubecontroller
- {{ .Values.oidc.consoleClientId }}
- id: {{ .Values.oidc.consoleClientId }}
name: {{ .Values.oidc.consoleClientName }}
redirectURIs:
- 'http://console-dev.{{ .Values.global.domainName }}:4200'
- 'https://console.{{ .Values.global.domainName }}'
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
- id: {{ .Values.oidc.grafanaClientId }}
name: {{ .Values.oidc.grafanaClientName }}
redirectURIs:
- 'https://grafana.{{ .Values.global.domainName }}/login/generic_oauth'
secret: apie4eeX6hiC9ainieli
enablePasswordDB: true
staticPasswords:
- email: "admin@kyma.cx"
# bcrypt hash of the string \"nimda123\"
hash: "$2a$10$j7pKw2qQUVuYXAVoLCel6eS8RLcpG8G3NduYRINMuRc8ox8iKZowS"
username: "admin"
userID: "18a8684b-db88-4b73-90a9-3cd1661f5463"
- email: "user1@kyma.cx"
# bcrypt hash of the string "nimda1"
hash: "$2a$10$Rr0PzZ9XOxu6lITrQx2PXuenz8Ww1Dzwwr9HIeivkQIGCrVIYIc7e"
username: "user1"
userID: "08a8684b-db88-4b73-90a9-1"
- email: "user2@kyma.cx"
# bcrypt hash of the string "nimda2"
hash: "$2a$10$LM4c6EkoOj6cvRrM8W3DkuE6S6bQvF6hQjLUl/9HUlUrPS88ZAWzq"
username: "user2"
userID: "08a8684b-db88-4b73-90a9-2"