fix charts

This commit is contained in:
Damien Ostler 2024-02-10 22:10:08 -05:00
parent 74b9342a53
commit 445e36394a
3 changed files with 22 additions and 1 deletions

View File

@ -36,6 +36,17 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: AUTH0_ISSUER_BASE_URL
value: '{{ .Values.auth.issuerBaseUrl }}'
- name: AUTH0_CLIENT_ID
value: '{{ .Values.auth.clientId }}'
- name: AUTH0_CLIENT_SECRET
value: '{{ .Values.auth.clientSecret }}'
- name: AUTH0_BASE_URL
value: '{{ .Values.auth.baseUrl }}'
- name: AUTH0_SECRET
value: '{{ .Values.auth.clientSecret }}'
ports:
- name: http
containerPort: {{ .Values.service.port }}

View File

@ -4,6 +4,12 @@
replicaCount: 1
auth:
issuerBaseUrl: "https://dev-12mb5yq82dow1twh.us.auth0.com"
clientId: "avpoVGBxJfr15m6d3BfTzsEH4v3yBXna"
clientSecret: "rCbTzrXdwZermb-N2GGqnCVI8YSTa32CA3GtuqZcmDRA6X0OGQGyiP4cRkhBSIsd"
baseUrl: "https://development.comissions.app"
image:
repository: docker pull ghcr.io/comissions-app/ui
pullPolicy: IfNotPresent

View File

@ -23,7 +23,11 @@ spec:
path: charts/ui
helm:
values: |
auth:
issuerBaseUrl: "https://dev-12mb5yq82dow1twh.us.auth0.com"
clientId: "avpoVGBxJfr15m6d3BfTzsEH4v3yBXna"
clientSecret: "rCbTzrXdwZermb-N2GGqnCVI8YSTa32CA3GtuqZcmDRA6X0OGQGyiP4cRkhBSIsd"
baseUrl: "https://development.comissions.app"
image:
repository: ghcr.io/comissions-app/ui