apiVersion: openstack.stable.sap.cc/v1
kind: OpenstackSeed
metadata:
  name: kubernikus-seed

spec:
  requires:
  - monsoon3/keystone-seed
  - monsoon3/domain-ccadmin-seed
  - monsoon3/domain-default-seed

  domains:
  - name: Default
    users:
    - name: kubernikus-terraform
      description: "Kubernikus Terraform User" 
      password: {{ required "missing .kubernikus_terraform_password" .Values.kubernikus_terraform_password | quote }}
      role_assignments:
      - project: cloud_admin@ccadmin
        role: admin
      - project: cloud_admin@ccadmin
        role: cloud_network_admin
      - project: cloud_admin@ccadmin
        role: cloud_resource_admin
      - project: master@ccadmin
        role: cloud_dns_admin
      - project: master@ccadmin
        role: swiftoperator 

apiVersion: openstack.stable.sap.cc/v1
kind: OpenstackSeed
metadata:
  name: kubernikus-seed

spec:
  requires:
  - monsoon3/keystone-seed
  - monsoon3/domain-ccadmin-seed
  - monsoon3/domain-default-seed

  domains:
  - name: Default
    users:
    - name: kubernikus-terraform
      description: "Kubernikus Terraform User" 
      password: {{ required "missing .kubernikus_terraform_password" .Values.kubernikus_terraform_password | quote }}
      role_assignments:
      - project: cloud_admin@ccadmin
        role: admin
      - project: cloud_admin@ccadmin
        role: cloud_network_admin
      - project: cloud_admin@ccadmin
        role: cloud_resource_admin
      - project: master@ccadmin
        role: cloud_dns_admin
      - project: master@ccadmin
        role: swiftoperator 
      - domain: cp
        role: admin

Allow kubernikus-terraform to have the domain admin role
Allow kubernikus-terraform to have the domain admin role
