31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
######################################
|
|
# Global vars for Cloud-Cluster #
|
|
######################################
|
|
|
|
# Name of the envrionment where to deploy to
|
|
# - 'production' (for production environment)
|
|
# - 'staging' (for staging environment)
|
|
# - 'development' (for development environment)
|
|
# user can expand sub-domains as the wish
|
|
# masterDomain: 'example.com'
|
|
|
|
masterDomain: masasana.ai
|
|
deployEnvironment: production
|
|
subdomains:
|
|
staging: stg
|
|
development: dev
|
|
|
|
# ToDo: Check if microk8s use different classes
|
|
# TODO: find usages
|
|
k8s_ingress_class: nginx
|
|
|
|
# Identity Management
|
|
idm_domain: auth.{{ domain }}
|
|
idmDomain: "{{ idm_domain }}"
|
|
|
|
############################################################################
|
|
# computed varibles -> please don't modify by hand! #
|
|
############################################################################
|
|
domain: '{% if deployEnvironment != "production" %}{{ subdomains[deployEnvironment] }}.{% endif %}{{ masterDomain }}'
|
|
kubernetesApi: '{{ hostvars[groups["kubernetes_api"][0]].ansible_host }}'
|