-
Notifications
You must be signed in to change notification settings - Fork 1
/
app-config-rhdh.yaml
80 lines (80 loc) · 2.68 KB
/
app-config-rhdh.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
apiVersion: v1
kind: ConfigMap
metadata:
name: app-config-rhdh
namespace: default
data:
app-config-rhdh.yaml: |
app:
title: rhdh
baseUrl: https://backstage-developer-hub-default.apps.ocp.ibm.edu/
backend:
baseUrl: https://backstage-developer-hub-default.apps.ocp.ibm.edu/
cors:
origin: https://backstage-developer-hub-default.apps.ocp.ibm.edu/
auth:
keys:
- secret: ${BACKEND_SECRET}
integrations:
github:
- host: github.com
token: ${RHDH_GITHUB_INTEGRATION_PERSONAL_ACCESS_TOKEN}
apps:
- appId: ${RHDH_GITHUB_INTEGRATION_APP_ID}
clientId: ${RHDH_GITHUB_INTEGRATION_APP_CLIENT_ID}
clientSecret: ${RHDH_GITHUB_INTEGRATION_APP_CLIENT_SECRET}
webhookUrl: none
webhookSecret: none
privateKey: ${RHDH_GITHUB_INTEGRATION_APP_PRIVATE_KEY}
catalog:
providers:
keycloakOrg:
production:
baseUrl: https://demo-keycloak-instance.apps.ocp.ibm.edu
loginRealm: rhdh # ${KEYCLOAK_REALM}
realm: rhdh # ${KEYCLOAK_REALM}
clientId: rhdh-client
clientSecret: 7iKyQUwyApIojzOlSj82vUWIhejv41E5
# highlight-add-start
schedule: # optional; same options as in TaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
frequency: { minutes: 1 }
# supports ISO duration, "human duration" as used in code
timeout: { minutes: 3 }
initialDelay: { seconds: 15 }
# highlight-add-end
kubernetes:
clusterLocatorMethods:
- clusters:
- authProvider: serviceAccount
name: rhdh-sa
serviceAccountToken: ${SA_TOKEN}
skipTLSVerify: true
url: https://api.ocp.ibm.edu:6443
type: config
serviceLocatorMethod:
type: multiTenant
argocd:
appLocatorMethods:
- type: 'config'
instances:
- name: argocd
url: ${ARGOCD_URL}
username: admin
password: ${ARGOCD_PASS}
auth:
environment: production
session:
secret: ${BACKEND_SECRET}
providers:
oidc:
production:
clientId: rhdh-client
clientSecret: 7iKyQUwyApIojzOlSj82vUWIhejv41E5
metadataUrl: https://demo-keycloak-instance.apps.ocp.ibm.edu/realms/rhdh/.well-known/openid-configuration
prompt: auto
signIn:
resolvers:
- resolver: preferredUsernameMatchingUserEntityName
signInPage: oidc
binaryData: {}