Skip to content
Snippets Groups Projects
Commit f95c6931 authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'OZG-4624-renaming' of git.ozg-sh.de:ozgcloud-devops/operator into OZG-4624-renaming

parents a4734e9f 92ef2f77
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ spec: ...@@ -44,7 +44,7 @@ spec:
labels: labels:
{{- include "app.matchLabels" . | indent 8 }} {{- include "app.matchLabels" . | indent 8 }}
spec: spec:
serviceAccountName: ozg-operator-serviceaccount serviceAccountName: ozgcloud-keycloak-operator-serviceaccount
containers: containers:
- name: ozg-operator - name: ozg-operator
image: "{{ required "image.repo must be set" (.Values.image).repo }}/{{ required "image.name must be set" (.Values.image).name }}:{{ required "image.tag must be set" (.Values.image).tag }}" image: "{{ required "image.repo must be set" (.Values.image).repo }}/{{ required "image.name must be set" (.Values.image).name }}:{{ required "image.tag must be set" (.Values.image).tag }}"
......
...@@ -25,21 +25,21 @@ ...@@ -25,21 +25,21 @@
kind: RoleBinding kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: ozg-operator-keycloak-admin-secret-viewer-role-binding name: ozgcloud-keycloak-operator-admin-secret-viewer-role-binding
namespace: keycloak namespace: keycloak
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: ozg-operator-serviceaccount name: ozgcloud-keycloak-operator-serviceaccount
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
roleRef: roleRef:
kind: Role kind: Role
name: ozg-operator-keycloak-admin-secret-viewer-role name: ozgcloud-keycloak-operator-admin-secret-viewer-role
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
--- ---
kind: Role kind: Role
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: ozg-operator-keycloak-admin-secret-viewer-role name: ozgcloud-keycloak-operator-admin-secret-viewer-role
namespace: keycloak namespace: keycloak
rules: rules:
- apiGroups: - apiGroups:
......
...@@ -26,36 +26,36 @@ ...@@ -26,36 +26,36 @@
kind: ClusterRoleBinding kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: ozg-operator-keycloak-viewer-role-binding name: ozgcloud-keycloak-operator-viewer-role-binding
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: ozg-operator-serviceaccount name: ozgcloud-keycloak-operator-serviceaccount
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
roleRef: roleRef:
kind: ClusterRole kind: ClusterRole
name: ozg-operator-keycloak-viewer-role name: ozgcloud-keycloak-operator-viewer-role
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
--- ---
kind: ClusterRole kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: ozg-operator-keycloak-viewer-role name: ozgcloud-keycloak-operator-viewer-role
rules: rules:
- apiGroups: - apiGroups:
- operator.ozgcloud.de - operator.ozgcloud.de
resources: resources:
- ozgkeycloakusers - ozgcloudkeycloakusers
- ozgkeycloakusers/status - ozgcloudkeycloakusers/status
- ozgkeycloakusers/finalizers - ozgcloudkeycloakusers/finalizers
- ozgkeycloakgroups - ozgcloudkeycloakgroups
- ozgkeycloakgroups/status - ozgcloudkeycloakgroups/status
- ozgkeycloakgroups/finalizers - ozgcloudkeycloakgroups/finalizers
- ozgkeycloakrealms - ozgcloudkeycloakrealms
- ozgkeycloakrealms/status - ozgcloudkeycloakrealms/status
- ozgkeycloakrealms/finalizers - ozgcloudkeycloakrealms/finalizers
- ozgkeycloakclients - ozgcloudkeycloakclients
- ozgkeycloakclients/status - ozgcloudkeycloakclients/status
- ozgkeycloakclients/finalizers - ozgcloudkeycloakclients/finalizers
verbs: verbs:
- get - get
- list - list
......
...@@ -26,36 +26,36 @@ ...@@ -26,36 +26,36 @@
kind: ClusterRoleBinding kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: ozg-operator-keycloak-write-role-binding name: ozgcloud-keycloak-operator-write-role-binding
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: ozg-operator-serviceaccount name: ozgcloud-keycloak-operator-serviceaccount
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
roleRef: roleRef:
kind: ClusterRole kind: ClusterRole
name: ozg-operator-keycloak-write-role name: ozgcloud-keycloak-operator-write-role
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
--- ---
kind: ClusterRole kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: ozg-operator-keycloak-write-role name: ozgcloud-keycloak-operator-write-role
rules: rules:
- apiGroups: - apiGroups:
- operator.ozgcloud.de - operator.ozgcloud.de
resources: resources:
- ozgkeycloakusers - ozgcloudkeycloakusers
- ozgkeycloakusers/status - ozgcloudkeycloakusers/status
- ozgkeycloakusers/finalizers - ozgcloudkeycloakusers/finalizers
- ozgkeycloakgroups - ozgcloudkeycloakgroups
- ozgkeycloakgroups/status - ozgcloudkeycloakgroups/status
- ozgkeycloakgroups/finalizers - ozgcloudkeycloakgroups/finalizers
- ozgkeycloakrealms - ozgcloudkeycloakrealms
- ozgkeycloakrealms/status - ozgcloudkeycloakrealms/status
- ozgkeycloakrealms/finalizers - ozgcloudkeycloakrealms/finalizers
- ozgkeycloakclients - ozgcloudkeycloakclients
- ozgkeycloakclients/status - ozgcloudkeycloakclients/status
- ozgkeycloakclients/finalizers - ozgcloudkeycloakclients/finalizers
verbs: verbs:
- patch - patch
- update - update
\ No newline at end of file
...@@ -24,5 +24,5 @@ ...@@ -24,5 +24,5 @@
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: ozg-operator-serviceaccount name: ozgcloud-keycloak-operator-serviceaccount
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
\ No newline at end of file
...@@ -36,7 +36,7 @@ tests: ...@@ -36,7 +36,7 @@ tests:
documentIndex: 0 documentIndex: 0
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-keycloak-admin-secret-viewer-role-binding value: ozgcloud-keycloak-operator-admin-secret-viewer-role-binding
documentIndex: 0 documentIndex: 0
- equal: - equal:
path: metadata.namespace path: metadata.namespace
...@@ -48,7 +48,7 @@ tests: ...@@ -48,7 +48,7 @@ tests:
path: subjects path: subjects
content: content:
kind: ServiceAccount kind: ServiceAccount
name: ozg-operator-serviceaccount name: ozgcloud-keycloak-operator-serviceaccount
namespace: test-namespace namespace: test-namespace
documentIndex: 0 documentIndex: 0
- it: test RoleBinding roleRef - it: test RoleBinding roleRef
...@@ -57,7 +57,7 @@ tests: ...@@ -57,7 +57,7 @@ tests:
path: roleRef path: roleRef
value: value:
kind: Role kind: Role
name: ozg-operator-keycloak-admin-secret-viewer-role name: ozgcloud-keycloak-operator-admin-secret-viewer-role
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
documentIndex: 0 documentIndex: 0
...@@ -68,7 +68,7 @@ tests: ...@@ -68,7 +68,7 @@ tests:
documentIndex: 1 documentIndex: 1
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-keycloak-admin-secret-viewer-role value: ozgcloud-keycloak-operator-admin-secret-viewer-role
documentIndex: 1 documentIndex: 1
- equal: - equal:
path: metadata.namespace path: metadata.namespace
......
...@@ -36,7 +36,7 @@ tests: ...@@ -36,7 +36,7 @@ tests:
documentIndex: 0 documentIndex: 0
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-keycloak-viewer-role-binding value: ozgcloud-keycloak-operator-viewer-role-binding
documentIndex: 0 documentIndex: 0
- it: test ClusterRoleBinding subject - it: test ClusterRoleBinding subject
asserts: asserts:
...@@ -44,7 +44,7 @@ tests: ...@@ -44,7 +44,7 @@ tests:
path: subjects path: subjects
content: content:
kind: ServiceAccount kind: ServiceAccount
name: ozg-operator-serviceaccount name: ozgcloud-keycloak-operator-serviceaccount
namespace: test-namespace namespace: test-namespace
documentIndex: 0 documentIndex: 0
- it: test ClusterRoleBinding roleRef - it: test ClusterRoleBinding roleRef
...@@ -53,7 +53,7 @@ tests: ...@@ -53,7 +53,7 @@ tests:
path: roleRef path: roleRef
value: value:
kind: ClusterRole kind: ClusterRole
name: ozg-operator-keycloak-viewer-role name: ozgcloud-keycloak-operator-viewer-role
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
documentIndex: 0 documentIndex: 0
...@@ -64,7 +64,7 @@ tests: ...@@ -64,7 +64,7 @@ tests:
documentIndex: 1 documentIndex: 1
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-keycloak-viewer-role value: ozgcloud-keycloak-operator-viewer-role
documentIndex: 1 documentIndex: 1
- it: test ClusterRoleBinding rules - it: test ClusterRoleBinding rules
asserts: asserts:
...@@ -74,18 +74,18 @@ tests: ...@@ -74,18 +74,18 @@ tests:
apiGroups: apiGroups:
- operator.ozgcloud.de - operator.ozgcloud.de
resources: resources:
- ozgkeycloakusers - ozgcloudkeycloakusers
- ozgkeycloakusers/status - ozgcloudkeycloakusers/status
- ozgkeycloakusers/finalizers - ozgcloudkeycloakusers/finalizers
- ozgkeycloakgroups - ozgcloudkeycloakgroups
- ozgkeycloakgroups/status - ozgcloudkeycloakgroups/status
- ozgkeycloakgroups/finalizers - ozgcloudkeycloakgroups/finalizers
- ozgkeycloakrealms - ozgcloudkeycloakrealms
- ozgkeycloakrealms/status - ozgcloudkeycloakrealms/status
- ozgkeycloakrealms/finalizers - ozgcloudkeycloakrealms/finalizers
- ozgkeycloakclients - ozgcloudkeycloakclients
- ozgkeycloakclients/status - ozgcloudkeycloakclients/status
- ozgkeycloakclients/finalizers - ozgcloudkeycloakclients/finalizers
verbs: verbs:
- get - get
- list - list
......
...@@ -36,7 +36,7 @@ tests: ...@@ -36,7 +36,7 @@ tests:
documentIndex: 0 documentIndex: 0
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-keycloak-write-role-binding value: ozgcloud-keycloak-operator-write-role-binding
documentIndex: 0 documentIndex: 0
- it: test ClusterRoleBinding subject - it: test ClusterRoleBinding subject
asserts: asserts:
...@@ -44,7 +44,7 @@ tests: ...@@ -44,7 +44,7 @@ tests:
path: subjects path: subjects
content: content:
kind: ServiceAccount kind: ServiceAccount
name: ozg-operator-serviceaccount name: ozgcloud-keycloak-operator-serviceaccount
namespace: test-namespace namespace: test-namespace
documentIndex: 0 documentIndex: 0
- it: test ClusterRoleBinding roleRef - it: test ClusterRoleBinding roleRef
...@@ -53,7 +53,7 @@ tests: ...@@ -53,7 +53,7 @@ tests:
path: roleRef path: roleRef
value: value:
kind: ClusterRole kind: ClusterRole
name: ozg-operator-keycloak-write-role name: ozgcloud-keycloak-operator-write-role
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
documentIndex: 0 documentIndex: 0
...@@ -64,7 +64,7 @@ tests: ...@@ -64,7 +64,7 @@ tests:
documentIndex: 1 documentIndex: 1
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-keycloak-write-role value: ozgcloud-keycloak-operator-write-role
documentIndex: 1 documentIndex: 1
- it: test ClusterRoleBinding rules - it: test ClusterRoleBinding rules
asserts: asserts:
...@@ -74,18 +74,18 @@ tests: ...@@ -74,18 +74,18 @@ tests:
apiGroups: apiGroups:
- operator.ozgcloud.de - operator.ozgcloud.de
resources: resources:
- ozgkeycloakusers - ozgcloudkeycloakusers
- ozgkeycloakusers/status - ozgcloudkeycloakusers/status
- ozgkeycloakusers/finalizers - ozgcloudkeycloakusers/finalizers
- ozgkeycloakgroups - ozgcloudkeycloakgroups
- ozgkeycloakgroups/status - ozgcloudkeycloakgroups/status
- ozgkeycloakgroups/finalizers - ozgcloudkeycloakgroups/finalizers
- ozgkeycloakrealms - ozgcloudkeycloakrealms
- ozgkeycloakrealms/status - ozgcloudkeycloakrealms/status
- ozgkeycloakrealms/finalizers - ozgcloudkeycloakrealms/finalizers
- ozgkeycloakclients - ozgcloudkeycloakclients
- ozgkeycloakclients/status - ozgcloudkeycloakclients/status
- ozgkeycloakclients/finalizers - ozgcloudkeycloakclients/finalizers
verbs: verbs:
- patch - patch
- update - update
......
...@@ -35,7 +35,7 @@ tests: ...@@ -35,7 +35,7 @@ tests:
of: ServiceAccount of: ServiceAccount
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-serviceaccount value: ozgcloud-keycloak-operator-serviceaccount
- equal: - equal:
path: metadata.namespace path: metadata.namespace
value: test-namespace value: test-namespace
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment