Skip to content

Commit

Permalink
fixup: add back storage config for connection test
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Aug 7, 2024
1 parent 1d87c66 commit d9fea8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/cryostat/templates/alpha_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ data:
- id: grafana
path: /grafana/
uri: http://localhost:3000
- id: storage
path: ^/storage/(.*)$
rewriteTarget: /$1
uri: http://localhost:8333
passHostHeader: false
proxyWebSockets: false
providers:
- id: dummy
name: Unused - Sign In Below
Expand Down
3 changes: 3 additions & 0 deletions charts/cryostat/tests/alpha_config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ tests:
- matchRegex:
path: data['alpha_config.yaml']
pattern: "- id: grafana\\s*path: /grafana/\\s*uri: http://localhost:3000"
- matchRegex:
path: data['alpha_config.yaml']
pattern: "- id: storage\\s*path: \\^/storage/\\(\\.\\*\\)\\$\\s*rewriteTarget: /\\$1\\s*uri: http://localhost:8333\\s*passHostHeader: false\\s*proxyWebSockets: false"
- matchRegex:
path: data['alpha_config.yaml']
pattern: "providers:\\s*- id: dummy\\s*name: Unused - Sign In Below\\s*clientId: CLIENT_ID\\s*clientSecret: CLIENT_SECRET\\s*provider: google"
Expand Down

0 comments on commit d9fea8a

Please sign in to comment.