Skip to content

Commit

Permalink
Add director.environmentVariables.dashboardUrl to values
Browse files Browse the repository at this point in the history
  • Loading branch information
fsmaia committed Jan 12, 2021
1 parent d736fbf commit af0df38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions charts/sorry-cypress/templates/deployment-director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ spec:
spec:
containers:
- env:
{{- range .Values.dashboard.ingress.hosts }}
- name: DASHBOARD_URL
value: http://{{ .host }}
{{- end }}
value: {{ .Values.director.environmentVariables.dashboardUrl | quote }}
- name: ALLOWED_KEYS
value: {{ .Values.director.environmentVariables.allowedKeys }}
- name: EXECUTION_DRIVER
Expand Down
3 changes: 3 additions & 0 deletions charts/sorry-cypress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ director:
# memory: 128Mi

environmentVariables:
# The "Run URL" in the Cypress client
dashboardUrl: ""

# In memory, or Mongo.
# Valid options are:
# "../execution/in-memory"
Expand Down

0 comments on commit af0df38

Please sign in to comment.