## Description 1. PR to enable server tests on PRs with `pg` as the base branch. 2. Replace the DB URI from `APPSMITH_MONGODB_URI` to `APPSMITH_DB_URL` ## Automation /ok-to-test tags="@tag.Sanity, @tag.GenerateCRUD, @tag.Fork" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/9174148396> > Commit: 762b4255f654946a1a47a196df5a1afae5be09f2 > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9174148396&attempt=1" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No --------- Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
{{- $nameSpace := include "appsmith.namespace" . -}}
|
|
{{- $name := include "appsmith.fullname" . -}}
|
|
{{- $mongoUser := .Values.mongodb.auth.rootUser -}}
|
|
{{- $mongoPassword := .Values.mongodb.auth.rootPassword -}}
|
|
{{- $mongoServicename := .Values.mongodb.service.nameOverride -}}
|
|
{{- $releaseName := .Release.Name -}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "appsmith.fullname" . }}
|
|
namespace: {{ include "appsmith.namespace" . }}
|
|
labels:
|
|
{{- include "appsmith.labels" . | nindent 4 }}
|
|
data:
|
|
{{- range $key, $value := .Values.applicationConfig }}
|
|
{{- if and (eq "APPSMITH_MONGODB_URI" $key) (not $value) }}
|
|
{{- if $.Values.mongodb.enabled }}
|
|
{{ $key }}: mongodb+srv://{{ $mongoUser }}:{{ $mongoPassword }}@{{ $mongoServicename }}.{{ $nameSpace }}.svc.cluster.local/appsmith?retryWrites=true&authSource=admin&ssl=false
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if and (eq "APPSMITH_REDIS_URL" $key) ( not $value) }}
|
|
{{- if $.Values.redis.enabled }}
|
|
{{ $key }}: redis://{{ $releaseName }}-redis-master.{{ $nameSpace }}.svc.cluster.local:6379
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if $value }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|