* added form login callout banner * form login config page changes * form login config page changes * added redirecturl and uneditable field components * added disconnect button on auth pages * Added env variables for form login auth page * added disconnect button on auth pages * updated docs link for dform login callout doc * added condition for disconnect button * added ce changes done on ee * updated css * suggested changes in PR review * suggested changes in PR review * suggested changes in PR review * reverted gitignore files changes * reverted gitignore files changes * updated logic for saving admin settings * removed unused imports * added changes for taginput field * removed console * removed warning * removed unwanted changes
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
set -o nounset
|
|
|
|
mongo_protocol="$1"
|
|
mongo_host="$2"
|
|
encoded_mongo_root_user="$3"
|
|
encoded_mongo_root_password="$4"
|
|
mongo_db="$5"
|
|
disable_telemetry="$6"
|
|
|
|
cat<<EOF
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: application-config
|
|
data:
|
|
APPSMITH_MAIL_ENABLED: "false"
|
|
# APPSMITH_MAIL_FROM: ""
|
|
# APPSMITH_REPLY_TO: ""
|
|
# APPSMITH_MAIL_HOST: ""
|
|
# APPSMITH_MAIL_PORT: ""
|
|
# APPSMITH_MAIL_SMTP_TLS_ENABLED: ""
|
|
# APPSMITH_MAIL_USERNAME: ""
|
|
# APPSMITH_MAIL_PASSWORD: ""
|
|
# APPSMITH_MAIL_SMTP_AUTH: ""
|
|
# APPSMITH_OAUTH2_GOOGLE_CLIENT_ID: ""
|
|
# APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET: ""
|
|
# APPSMITH_OAUTH2_GITHUB_CLIENT_ID: ""
|
|
# APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET: ""
|
|
APPSMITH_GOOGLE_MAPS_API_KEY: ""
|
|
APPSMITH_REDIS_URL: redis://redis-service:6379
|
|
APPSMITH_MONGODB_URI: $mongo_protocol$encoded_mongo_root_user:$encoded_mongo_root_password@$mongo_host/$mongo_db?retryWrites=true&authSource=admin
|
|
APPSMITH_DISABLE_TELEMETRY: "$disable_telemetry"
|
|
APPSMITH_RECAPTCHA_SITE_KEY: ""
|
|
APPSMITH_RECAPTCHA_SECRET_KEY: ""
|
|
APPSMITH_RECAPTCHA_ENABLED: "false"
|
|
APPSMITH_DISABLE_INTERCOM: "false"
|
|
APPSMITH_FORM_LOGIN_DISABLED: "false"
|
|
APPSMITH_SIGNUP_DISABLED: "true"
|
|
# APPSMITH_PLUGIN_MAX_RESPONSE_SIZE_MB=5
|
|
EOF
|