Skip to content

Commit

Permalink
chore(ci): fixes retrieving values for dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtieReus committed Oct 24, 2024
1 parent f6c6141 commit ba33014
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
10 changes: 5 additions & 5 deletions charts/dashboard/templates/dashboard-props-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ metadata:
data:
appProps.json: |
{
"authIssuerUrl": {{ required ".Values.oidcIssuerUrl" .Values.oidcIssuerUrl | quote }},
"authClientId": {{ required ".Values.oidcClientId" .Values.oidcClientId | quote }},
"authIssuerUrl": {{ required ".Values.juno.oidcIssuerUrl" .Values.oidcIssuerUrl | quote }},
"authClientId": {{ required ".Values.juno.oidcClientId" .Values.oidcClientId | quote }},
"currentHost": {{ required ".Values.juno.assetServerURL missing" .Values.juno.assetServerURL | quote}},
"apiEndpoint": {{ required ".Values.k8sApiEndpoint" .Values.k8sApiEndpoint | quote }},
"environment": {{ required ".Values.environment" .Values.environment | quote }},
"demoUserToken": {{ required ".Values.demoUser.token" .Values.demoUser.token | quote }}
"apiEndpoint": {{ required ".Values.juno.k8sApiEndpoint" .Values.k8sApiEndpoint | quote }},
"environment": {{ required ".Values.juno.environment" .Values.environment | quote }},
"demoUserToken": {{ required ".Values.juno.demoUser.token" .Values.demoUser.token | quote }}
}
12 changes: 8 additions & 4 deletions charts/dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ image:
tag: 0.2.0
pullPolicy: IfNotPresent


replicas: 2

# TODO: Migrate to ingress.host
Expand All @@ -22,8 +21,13 @@ juno:
greenhouse:
version: latest

# The user for demonstration purposes.
demoUser:
token: demo
# app properties
oidcIssuerUrl: https://accounts.com
oidcClientId: 1234567890
k8sApiEndpoint: https://kubernetes.defaul

# The user for demonstration purposes.
demoUser:
token: demo

environment: "prod"

0 comments on commit ba33014

Please sign in to comment.