Skip to content

Commit

Permalink
Fix replicated service domain (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
moicalcob authored Jul 22, 2024
1 parent 74b7c76 commit 0ce67ab
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chart/templates/cdn-invalidator-sub/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
{{- end }}
data:
{{- if .Values.replicated.enabled }}
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated:3000"
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:3000"
{{- end }}
CARTO_SELFHOSTED_VERSION: {{ .Chart.AppVersion | quote }}
EVENT_BUS_PROJECT_ID: {{ .Values.cartoConfigValues.cartoAccGcpProjectId | quote }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/import-api/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ data:
AUTH0_DOMAIN: {{ .Values.cartoConfigValues.cartoAuth0CustomDomain | quote }}
AUTH0_NAMESPACE: "http://app.carto.com"
{{- if .Values.replicated.enabled }}
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated:3000"
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:3000"
{{- end }}
CARTO_SELFHOSTED_VERSION: {{ .Chart.AppVersion | quote }}
IMPORT_ERROR_RESPONSE_STACK_TRACE: {{ .Values.cartoConfigValues.enableErrorResponseStackTrace | quote }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/import-worker/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
data:
BIGQUERY_OAUTH2_CLIENT_ID: {{ .Values.appConfigValues.bigqueryOauth2ClientId | quote }}
{{- if .Values.replicated.enabled }}
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated:3000"
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:3000"
{{- end }}
CARTO_SELFHOSTED_VERSION: {{ .Chart.AppVersion | quote }}
{{- if not .Values.commonBackendServiceAccount.enableGCPWorkloadIdentity }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/maps-api/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data:
AUTH0_NAMESPACE: "http://app.carto.com"
BIGQUERY_OAUTH2_CLIENT_ID: {{ .Values.appConfigValues.bigqueryOauth2ClientId | quote }}
{{- if .Values.replicated.enabled }}
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated:3000"
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:3000"
{{- end }}
CARTO_SELFHOSTED_VERSION: {{ .Chart.AppVersion | quote }}
EVENT_BUS_PROJECT_ID: {{ .Values.cartoConfigValues.cartoAccGcpProjectId | quote }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/sql-worker/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ data:
AUTH0_DOMAIN: {{ .Values.cartoConfigValues.cartoAuth0CustomDomain | quote }}
AUTH0_NAMESPACE: "http://app.carto.com"
{{- if .Values.replicated.enabled }}
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated:3000"
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:3000"
{{- end }}
CARTO_SELFHOSTED_VERSION: {{ .Chart.AppVersion | quote }}
EXPORTS_GCS_BUCKET_NAME: {{ .Values.appConfigValues.workspaceExportsBucket | quote }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/workspace-api/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data:
CARTO_SELFHOSTED_VERSION: {{ .Chart.AppVersion | quote }}
CARTO_SELFHOSTED_DEPLOYMENT: "kubernetes"
{{- if .Values.replicated.enabled }}
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated:3000"
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:3000"
{{- end }}
EVENT_BUS_PROJECT_ID: {{ .Values.cartoConfigValues.cartoAccGcpProjectId | quote }}
EVENT_BUS_TOPIC: "projects/{{ .Values.cartoConfigValues.cartoAccGcpProjectId }}/topics/{{ .Values.cartoConfigValues.cartoAccGcpProjectRegion }}-event-bus"
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/workspace-subscriber/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data:
CARTO_SELFHOSTED_NAME: {{ .Values.cartoConfigValues.selfHostedTenantId | quote }}
CARTO_SELFHOSTED_VERSION: {{ .Chart.AppVersion | quote }}
{{- if .Values.replicated.enabled }}
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated:3000"
CARTO_SELFHOSTED_REPLICATED_SDK_DOMAIN: "replicated.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:3000"
{{- end }}
COMPUTE_PUBSUB_DATA_UPDATES_SUBSCRIPTION: "projects/{{ .Values.cartoConfigValues.selfHostedGcpProjectId }}/subscriptions/data-updates-compute-sub"
EVENT_BUS_PROJECT_ID: {{ .Values.cartoConfigValues.cartoAccGcpProjectId | quote }}
Expand Down

0 comments on commit 0ce67ab

Please sign in to comment.