chore(helm): removing quotes from deployment.
This commit is contained in:
parent
fc396d792a
commit
7051820a66
6 changed files with 20 additions and 20 deletions
|
|
@ -59,9 +59,9 @@ spec:
|
|||
value: '{{ .Values.global.s3.endpoint }}'
|
||||
{{- end }}
|
||||
- name: S3_KEY
|
||||
value: '{{ .Values.global.s3.accessKey }}'
|
||||
value: {{ .Values.global.s3.accessKey }}
|
||||
- name: S3_SECRET
|
||||
value: '{{ .Values.global.s3.secretKey }}'
|
||||
value: {{ .Values.global.s3.secretKey }}
|
||||
- name: AWS_DEFAULT_REGION
|
||||
value: '{{ .Values.global.s3.region }}'
|
||||
- name: EMAIL_HOST
|
||||
|
|
|
|||
|
|
@ -39,11 +39,11 @@ spec:
|
|||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env:
|
||||
- name: AWS_ACCESS_KEY_ID
|
||||
value: '{{ .Values.global.s3.accessKey }}'
|
||||
value: {{ .Values.global.s3.accessKey }}
|
||||
- name: AWS_SECRET_ACCESS_KEY
|
||||
value: '{{ .Values.global.s3.secretKey }}'
|
||||
value: {{ .Values.global.s3.secretKey }}
|
||||
- name: S3_BUCKET_ASSETS
|
||||
value: '{{ .Values.global.s3.assetsBucket }}'
|
||||
value: {{ .Values.global.s3.assetsBucket }}
|
||||
- name: LICENSE_KEY
|
||||
value: '{{ .Values.global.enterpriseEditionLicense }}'
|
||||
- name: AWS_ENDPOINT
|
||||
|
|
@ -59,7 +59,7 @@ spec:
|
|||
# Ref: https://stackoverflow.com/questions/53634583/go-template-split-string-by-delimiter
|
||||
# We need https://bucketname.s3endpoint
|
||||
- name: ASSETS_ORIGIN
|
||||
value: '{{ (split "://" .Values.global.s3.endpoint)._0 }}://{{.Values.global.s3.assetsBucket}}.{{ (split "://" .Values.global.s3.endpoint)._1 }}'
|
||||
value: {{ (split "://" .Values.global.s3.endpoint)._0 }}://{{.Values.global.s3.assetsBucket}}.{{ (split "://" .Values.global.s3.endpoint)._1 }}
|
||||
{{- range $key, $val := .Values.env }}
|
||||
- name: {{ $key }}
|
||||
value: '{{ $val }}'
|
||||
|
|
|
|||
|
|
@ -61,19 +61,19 @@ spec:
|
|||
value: '{{ .Values.global.s3.endpoint }}'
|
||||
{{- end}}
|
||||
- name: S3_KEY
|
||||
value: '{{ .Values.global.s3.accessKey }}'
|
||||
value: {{ .Values.global.s3.accessKey }}
|
||||
- name: S3_SECRET
|
||||
value: '{{ .Values.global.s3.secretKey }}'
|
||||
value: {{ .Values.global.s3.secretKey }}
|
||||
- name: AWS_DEFAULT_REGION
|
||||
value: '{{ .Values.global.s3.region }}'
|
||||
- name: sessions_region
|
||||
value: '{{ .Values.global.s3.region }}'
|
||||
- name: sessions_bucket
|
||||
value: '{{ .Values.global.s3.recordingsBucket }}'
|
||||
value: {{ .Values.global.s3.recordingsBucket }}
|
||||
- name: sourcemaps_bucket
|
||||
value: '{{ .Values.global.s3.sourcemapsBucket }}'
|
||||
value: {{ .Values.global.s3.sourcemapsBucket }}
|
||||
- name: js_cache_bucket
|
||||
value: '{{ .Values.global.s3.assetsBucket }}'
|
||||
value: {{ .Values.global.s3.assetsBucket }}
|
||||
- name: EMAIL_HOST
|
||||
value: '{{ .Values.global.email.emailHost }}'
|
||||
- name: EMAIL_PORT
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ spec:
|
|||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env:
|
||||
- name: AWS_ACCESS_KEY_ID
|
||||
value: '{{ .Values.global.s3.accessKey }}'
|
||||
value: {{ .Values.global.s3.accessKey }}
|
||||
- name: AWS_SECRET_ACCESS_KEY
|
||||
value: '{{ .Values.global.s3.secretKey }}'
|
||||
value: {{ .Values.global.s3.secretKey }}
|
||||
- name: AWS_REGION
|
||||
value: '{{ .Values.global.s3.region }}'
|
||||
- name: LICENSE_KEY
|
||||
|
|
@ -55,7 +55,7 @@ spec:
|
|||
- name: POSTGRES_STRING
|
||||
value: 'postgres://{{ .Values.global.postgresql.postgresqlUser }}:{{ .Values.global.postgresql.postgresqlPassword }}@{{ .Values.global.postgresql.postgresqlHost }}:{{ .Values.global.postgresql.postgresqlPort }}/{{ .Values.global.postgresql.postgresqlDatabase }}'
|
||||
- name: ASSETS_ORIGIN
|
||||
value: '{{ (split "://" .Values.global.s3.endpoint)._0 }}://{{.Values.global.s3.assetsBucket}}.{{ (split "://" .Values.global.s3.endpoint)._1 }}'
|
||||
value: {{ (split "://" .Values.global.s3.endpoint)._0 }}://{{.Values.global.s3.assetsBucket}}.{{ (split "://" .Values.global.s3.endpoint)._1 }}
|
||||
{{- range $key, $val := .Values.env }}
|
||||
- name: {{ $key }}
|
||||
value: '{{ $val }}'
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ spec:
|
|||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env:
|
||||
- name: AWS_ACCESS_KEY_ID
|
||||
value: '{{ .Values.global.s3.accessKey }}'
|
||||
value: {{ .Values.global.s3.accessKey }}
|
||||
- name: AWS_SECRET_ACCESS_KEY
|
||||
value: '{{ .Values.global.s3.secretKey }}'
|
||||
value: {{ .Values.global.s3.secretKey }}
|
||||
- name: AWS_ENDPOINT
|
||||
value: '{{ .Values.global.s3.endpoint }}'
|
||||
- name: AWS_REGION_WEB
|
||||
|
|
@ -49,9 +49,9 @@ spec:
|
|||
- name: AWS_REGION_IOS
|
||||
value: '{{ .Values.global.s3.region }}'
|
||||
- name: S3_BUCKET_WEB
|
||||
value: '{{ .Values.global.s3.recordingsBucket }}'
|
||||
value: {{ .Values.global.s3.recordingsBucket }}
|
||||
- name: S3_BUCKET_IOS
|
||||
value: '{{ .Values.global.s3.recordingsBucket }}'
|
||||
value: {{ .Values.global.s3.recordingsBucket }}
|
||||
- name: REDIS_STRING
|
||||
value: '{{ .Values.global.redis.redisHost }}:{{ .Values.global.redis.redisPort }}'
|
||||
- name: LICENSE_KEY
|
||||
|
|
|
|||
|
|
@ -47,9 +47,9 @@ spec:
|
|||
value: '{{ .Values.global.s3.endpoint }}'
|
||||
{{- end}}
|
||||
- name: S3_KEY
|
||||
value: "{{ .Values.global.s3.accessKey }}"
|
||||
value: {{ .Values.global.s3.accessKey }}
|
||||
- name: S3_SECRET
|
||||
value: "{{ .Values.global.s3.secretKey }}"
|
||||
value: {{ .Values.global.s3.secretKey }}
|
||||
{{- range $key, $val := .Values.env }}
|
||||
- name: {{ $key }}
|
||||
value: '{{ $val }}'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue