Skip to content

Commit

Permalink
Add support to manage config.json in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Dec 17, 2021
1 parent f661c40 commit 52c2635
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 7 additions & 4 deletions deployment/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,24 @@ environments:

repositories:
- name: appuio
url: {{ getOrNil "repoUrl" .Values | default "https://charts.appuio.ch" }}
url: "{{ getOrNil "repoUrl" .Values | default "https://charts.appuio.ch" }}"

helmDefaults:
historyMax: 3

releases:
- name: {{ env "HELM_RELEASE_NAME" | default "portal" }}
- name: "{{ env "HELM_RELEASE_NAME" | default "portal" }}"
chart: appuio/cloud-portal
createNamespace: false
missingFileHandler: Warn
values:
- {{ .Environment.Name }}.yaml
- "{{ .Environment.Name }}.yaml"
- image:
tag: {{ trimPrefix "refs/tags/" (requiredEnv "IMG_TAG") }}
repository: {{ .Namespace }}/cloud-portal
repository: "{{ .Namespace }}/cloud-portal"
- fullnameOverride: {{ env "HELM_RELEASE_NAME" | default "portal" }}
- podAnnotations:
app.kubernetes.io/git-shasum: {{ env "GIT_SHA" | default "GIT_SHA" }}
- portal:
config:
version: {{ env "GIT_SHA" | default "GIT_SHA" }}
4 changes: 4 additions & 0 deletions deployment/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ route:
image:
registry: image-registry.openshift-image-registry.svc:5000
pullPolicy: Always
portal:
config:
issuer: https://id.appuio.cloud/auth/realms/appuio-cloud
clientId: appuio-control-api
4 changes: 4 additions & 0 deletions deployment/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ route:
image:
registry: image-registry.openshift-image-registry.svc:5000
pullPolicy: Always
portal:
config:
issuer: https://id.dev.appuio.cloud/auth/realms/appuio-cloud-dev
clientId: appuio-control-api

0 comments on commit 52c2635

Please sign in to comment.