apiVersion: v1
kind: ConfigMap
metadata:
  name: disco-config
  labels:
    app: disco
data:
  disco.conf: |
    auth_url: {{ required ".Values.openstack.authURL missing" .Values.openstack.authURL }}
    region_name: {{ required ".Values.openstack.regionName missing" .Values.openstack.regionName }}
    username: {{ required ".Values.openstack.username missing" .Values.openstack.username }}
    user_domain_name: {{ required ".Values.openstack.userDomainName missing" .Values.openstack.userDomainName }}
    password: {{ required ".Values.openstack.password missing" .Values.openstack.password }}
    project_name: {{ required ".Values.openstack.projectName missing" .Values.openstack.projectName }}
    project_domain_name: {{ required ".Values.openstack.projectDomainName missing" .Values.openstack.projectDomainName }}
