Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions openstack/elektra/templates/seed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
{{- end }}

{{- range $domains}}
{{ if and (ne . "Default" ) (ne . "cc3test") (not (contains "iaas-" .))}}
{{ if and (ne . "Default" ) (ne . "cc3test") (not (hasPrefix "iaas-" .))}}
- name: {{ . }}
{{ if eq . "ccadmin" }}
projects:
Expand All @@ -98,43 +98,43 @@ spec:
role: email_user # to be able to send emails via cronus
{{- end }}
groups:
- name: {{ contains "iaas-" . | ternary . ( upper . ) }}_API_SUPPORT
- name: {{ hasPrefix "iaas-" . | ternary . ( upper . ) }}_API_SUPPORT
role_assignments:
- domain: {{ . }}
role: cloud_support_tools_viewer
- domain: {{ . }}
role: cloud_support_tools_viewer
inherited: true
- name: {{ contains "iaas-" . | ternary . ( upper . ) }}_COMPUTE_SUPPORT
- name: {{ hasPrefix "iaas-" . | ternary . ( upper . ) }}_COMPUTE_SUPPORT
role_assignments:
- domain: {{ . }}
role: cloud_support_tools_viewer
- domain: {{ . }}
role: cloud_support_tools_viewer
inherited: true
- name: {{ contains "iaas-" . | ternary . ( upper . ) }}_NETWORK_SUPPORT
- name: {{ hasPrefix "iaas-" . | ternary . ( upper . ) }}_NETWORK_SUPPORT
role_assignments:
- domain: {{ . }}
role: cloud_support_tools_viewer
- domain: {{ . }}
role: cloud_support_tools_viewer
inherited: true
- name: {{ contains "iaas-" . | ternary . ( upper . ) }}_STORAGE_SUPPORT
- name: {{ hasPrefix "iaas-" . | ternary . ( upper . ) }}_STORAGE_SUPPORT
role_assignments:
- domain: {{ . }}
role: cloud_support_tools_viewer
- domain: {{ . }}
role: cloud_support_tools_viewer
inherited: true
- name: {{ contains "iaas-" . | ternary . ( upper . ) }}_SERVICE_DESK
- name: {{ hasPrefix "iaas-" . | ternary . ( upper . ) }}_SERVICE_DESK
role_assignments:
- domain: {{ . }}
role: cloud_support_tools_viewer
- domain: {{ . }}
role: cloud_support_tools_viewer
inherited: true
{{- if not (has . $domainsWithoutSupportToolViewers) }}
- name: {{ contains "iaas-" . | ternary . ( upper . ) }}_SUPPORT_TOOL_VIEWERS
- name: {{ hasPrefix "iaas-" . | ternary . ( upper . ) }}_SUPPORT_TOOL_VIEWERS
role_assignments:
- domain: {{ . }}
role: domain_support_tools_viewer
Expand Down