Update deployment templates to remove unused cdn url and fix empty env vars (#9967)
This commit is contained in:
parent
fa877c8a6b
commit
c33ea4dcfe
|
@ -125,9 +125,9 @@ spec:
|
||||||
- name: SELF_HOSTED
|
- name: SELF_HOSTED
|
||||||
value: {{ .Values.globals.selfHosted | quote }}
|
value: {{ .Values.globals.selfHosted | quote }}
|
||||||
- name: SENTRY_DSN
|
- name: SENTRY_DSN
|
||||||
value: {{ .Values.globals.sentryDSN }}
|
value: {{ .Values.globals.sentryDSN | quote }}
|
||||||
- name: POSTHOG_TOKEN
|
- name: POSTHOG_TOKEN
|
||||||
value: {{ .Values.globals.posthogToken }}
|
value: {{ .Values.globals.posthogToken | quote }}
|
||||||
- name: WORKER_URL
|
- name: WORKER_URL
|
||||||
value: http://worker-service:{{ .Values.services.worker.port }}
|
value: http://worker-service:{{ .Values.services.worker.port }}
|
||||||
- name: PLATFORM_URL
|
- name: PLATFORM_URL
|
||||||
|
@ -198,8 +198,6 @@ spec:
|
||||||
- name: GLOBAL_AGENT_NO_PROXY
|
- name: GLOBAL_AGENT_NO_PROXY
|
||||||
value: {{ .Values.globals.globalAgentNoProxy | quote }}
|
value: {{ .Values.globals.globalAgentNoProxy | quote }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
- name: CDN_URL
|
|
||||||
value: {{ .Values.globals.cdnUrl }}
|
|
||||||
{{ if .Values.services.tlsRejectUnauthorized }}
|
{{ if .Values.services.tlsRejectUnauthorized }}
|
||||||
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
||||||
value: {{ .Values.services.tlsRejectUnauthorized }}
|
value: {{ .Values.services.tlsRejectUnauthorized }}
|
||||||
|
|
|
@ -188,8 +188,6 @@ spec:
|
||||||
- name: GLOBAL_AGENT_NO_PROXY
|
- name: GLOBAL_AGENT_NO_PROXY
|
||||||
value: {{ .Values.globals.globalAgentNoProxy | quote }}
|
value: {{ .Values.globals.globalAgentNoProxy | quote }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
- name: CDN_URL
|
|
||||||
value: {{ .Values.globals.cdnUrl }}
|
|
||||||
{{ if .Values.services.tlsRejectUnauthorized }}
|
{{ if .Values.services.tlsRejectUnauthorized }}
|
||||||
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
||||||
value: {{ .Values.services.tlsRejectUnauthorized }}
|
value: {{ .Values.services.tlsRejectUnauthorized }}
|
||||||
|
|
|
@ -46,7 +46,6 @@ const environment = {
|
||||||
AWS_REGION: process.env.AWS_REGION,
|
AWS_REGION: process.env.AWS_REGION,
|
||||||
MINIO_ACCESS_KEY: process.env.MINIO_ACCESS_KEY,
|
MINIO_ACCESS_KEY: process.env.MINIO_ACCESS_KEY,
|
||||||
MINIO_SECRET_KEY: process.env.MINIO_SECRET_KEY,
|
MINIO_SECRET_KEY: process.env.MINIO_SECRET_KEY,
|
||||||
CDN_URL: process.env.CDN_URL || "https://cdn.budi.live",
|
|
||||||
REDIS_URL: process.env.REDIS_URL,
|
REDIS_URL: process.env.REDIS_URL,
|
||||||
REDIS_PASSWORD: process.env.REDIS_PASSWORD,
|
REDIS_PASSWORD: process.env.REDIS_PASSWORD,
|
||||||
INTERNAL_API_KEY: process.env.INTERNAL_API_KEY,
|
INTERNAL_API_KEY: process.env.INTERNAL_API_KEY,
|
||||||
|
|
|
@ -42,7 +42,6 @@ const environment = {
|
||||||
ACCOUNT_PORTAL_URL: process.env.ACCOUNT_PORTAL_URL,
|
ACCOUNT_PORTAL_URL: process.env.ACCOUNT_PORTAL_URL,
|
||||||
PLATFORM_URL: process.env.PLATFORM_URL,
|
PLATFORM_URL: process.env.PLATFORM_URL,
|
||||||
APPS_URL: process.env.APPS_URL,
|
APPS_URL: process.env.APPS_URL,
|
||||||
CDN_URL: process.env.CDN_URL || "https://tenants.cdn.budi.live",
|
|
||||||
// ports
|
// ports
|
||||||
// prefer worker port to generic port
|
// prefer worker port to generic port
|
||||||
PORT: process.env.WORKER_PORT || process.env.PORT,
|
PORT: process.env.WORKER_PORT || process.env.PORT,
|
||||||
|
|
Loading…
Reference in New Issue