-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp-config.headless-service.example.yaml
More file actions
57 lines (53 loc) · 1.53 KB
/
app-config.headless-service.example.yaml
File metadata and controls
57 lines (53 loc) · 1.53 KB
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
app:
baseUrl: http://localhost:3000
errorReporter: null
telemetrydeck: null
backend:
auth:
pluginKeyStore:
type: static
static:
keys:
- publicKeyFile: APP_ROOT/plugin-keys/plugin-to-plugin-key/public.key
privateKeyFile: APP_ROOT/plugin-keys/plugin-to-plugin-key/private.key
keyId: plugin-to-plugin-key
baseUrl: http://localhost:7008
listen:
port: 7008
cors:
origin: http://localhost:3000
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
errorReporter: null
discovery:
endpoints:
- target: http://localhost:7007/api/{{pluginId}}
plugins: ['auth', 'catalog', 'events', 'permission']
auth:
environment: development
session:
secret: ${AUTH_SESSION_SECRET}
experimentalExtraAllowedOrigins:
- http://localhost:3000
providers:
oidc-example:
development:
metadataUrl: OIDC_ISSUER_METADATA_URL
callbackUrl: http://localhost:7008/api/auth/oidc-example/handler/frame
clientId: OIDC_CLIENT_ID
clientSecret: OIDC_CLIENT_SECRET
production:
metadataUrl: OIDC_ISSUER_METADATA_URL
callbackUrl: http://localhost:7008/api/auth/oidc-example/handler/frame
clientId: OIDC_CLIENT_ID
clientSecret: OIDC_CLIENT_SECRET
kubernetes:
serviceLocatorMethod:
type: 'multiTenant'
clusterLocatorMethods:
- type: 'config'
clusters:
- name: example
url: EXAMPLE_API_ENDPOINT
authProvider: oidc
oidcTokenProvider: oidc-example