#!/bin/bash
# the domain used for the installation
export DOMAIN=

# Information used for the Certificate Signing Request in automatic key management, by the nevisOperator
# example CH
export CSR_COUNTRY=
# example Zurich
export CSR_PROVINCE=
# example Zurich
export CSR_LOCALITY=
# example Nevis Security AG
export CSR_ORGANIZATION=
# example Nevis
export CRS_ORGANIZATIONAL_UNIT=
# example no-reply@nevis-security.com
export CSR_EMAIL_ADDRESS=

# set to true if an azure database service is used
# this is necessary as azure uses user@host format for the login
export IS_AZURE_DATABASE=false

# database server url, without port
export DB_SERVER_URL=

# database port
export DB_SERVER_PORT=

# user name of the root user for the database server
# in case of azure database don't include the host
# example: dbroot
export DB_ROOT_USER=

# DB root password (generated by cluster creation, will be added after kubernetes is set up)
export DB_ROOT_PASSWORD=

# the database user that will be created for admin4, to do the schema updates in the database
# example: schemauser
export ADMIN4DB_SCHEMA_USER=

# the password for the schema user
export ADMIN4DB_SCHEMA_PASSWORD=

# the database user that will be created for admin4, to connect to the database during operation
# example: applicationuser
export ADMIN4DB_APP_USER=

# the password for the application user
export ADMIN4DB_APP_PASSWORD=

# container registry
# example: ghcr.io/nevis
export CONTAINER_REGISTRY=

# GIT deployment repository
# example: git@github.com:nevis/deploy.git
export GIT_URL=

# private key to deploy to GIT( reads the previously generated key file)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PRIVATE_KEY=`cat $DIR/id_rsa`