Skip to content

Commit

Permalink
Add vcluster creds to chart
Browse files Browse the repository at this point in the history
  • Loading branch information
zipofar committed Jul 13, 2023
1 parent 132ed05 commit b8ad710
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/uffizzi-app/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: uffizzi-app
version: 1.2.4
version: 1.2.5
kubeVersion: ">= 1.21.0-0" # https://issuetracker.google.com/issues/77503699
description: "Uffizzi is an open-source engine for creating lightweight, ephemeral test environments for APIs and full-stack applications. Uffizzi enables teams to preview new features before merging."
type: application
Expand Down
1 change: 1 addition & 0 deletions charts/uffizzi-app/templates/configmap-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ data:
RAILS_ENV: {{ .Values.env | quote }}
APP_URL: {{ .Values.app_url }}
CONTROLLER_URL: {{ default (print "http://" .Release.Name "-controller:8080") .Values.controller_url }}
VCLUSTER_CONTROLLER_URL: {{ default (print "http://" .Release.Name "-controller:8080") .Values.vcluster_controller_url }}
EMAIL_DELIVERY_ENABLED: {{ .Values.feature_email_delivery | quote }}
MANAGED_DNS_ZONE_DNS_NAME: {{ .Values.managed_dns_zone_dns_name | quote }}
UFFIZZI_USER_EMAIL: {{ .Values.global.uffizzi.firstUser.email }}
Expand Down
2 changes: 2 additions & 0 deletions charts/uffizzi-app/templates/secret-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ data:
SIDEKIQ_PASSWORD: {{ .Values.basic_auth_password | b64enc }}
CONTROLLER_LOGIN: {{ .Values.global.uffizzi.controller.username | b64enc }}
CONTROLLER_PASSWORD: {{ .Values.global.uffizzi.controller.password | b64enc }}
VCLUSTER_CONTROLLER_LOGIN: {{ .Values.global.uffizzi.controller.username | b64enc }}
VCLUSTER_CONTROLLER_PASSWORD: {{ .Values.global.uffizzi.controller.password | b64enc }}
GITHUB_APP_ID: {{ .Values.github_app_id | b64enc }}
GITHUB_APP_SLUG: {{ .Values.github_app_slug | b64enc }}
GITHUB_CLIENT_ID: {{ .Values.github_client_id | b64enc }}
Expand Down
1 change: 1 addition & 0 deletions charts/uffizzi-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ web-replicas: 3
sidekiq-replicas: 1
hostname: localhost
controller_url: ""
vcluster_controller_url: ""
allowed_hosts: ""
db_host: "" # default to dependent postgresql
rails_secret_key_base: "" # default to half-random string
Expand Down

0 comments on commit b8ad710

Please sign in to comment.