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

Merge pull request 'OZG-4183 adjust renaming' (#90) from OZG-4183-AdjustNaming into master

parents cf4339e5 3677d193
No related merge requests found
Showing
with 16 additions and 16 deletions
{{ if .Values.sso.api_user }}
---
apiVersion: operator.ozgcloud.de/v1
kind: OzgKeycloakUser
kind: OzgCloudKeycloakUser
metadata:
name: {{ include "app.generateKeycloakUserRessourceName" . }}
namespace: {{ include "app.namespace" . }}
......
......@@ -45,7 +45,7 @@ spec:
- to:
- podSelector:
matchLabels:
component: ozg-mongodb
component: ozgcloud-mongodb
ports:
- port: 27017
protocol: TCP
......
......@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: ozg-operator-secrets-read-role-user-manager
name: ozgcloud-keycloak-operator-secrets-read-role-user-manager
namespace: {{ include "app.namespace" $ }}
rules:
- apiGroups:
......
......@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: ozg-operator-secrets-read-role-binding-user-manager
name: ozgcloud-keycloak-operator-secrets-read-role-binding-user-manager
namespace: {{ include "app.namespace" . }}
subjects:
- kind: ServiceAccount
......@@ -10,6 +10,6 @@ subjects:
namespace: {{ required "sso.operatorNamespace muss angegeben sein" .Values.sso.operatorNamespace }}
roleRef:
kind: Role
name: ozg-operator-secrets-read-role-user-manager
name: ozgcloud-keycloak-operator-secrets-read-role-user-manager
apiGroup: rbac.authorization.k8s.io
{{- end }}
\ No newline at end of file
......@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: ozg-operator-secrets-write-role-user-manager
name: ozgcloud-keycloak-operator-secrets-write-role-user-manager
namespace: {{ include "app.namespace" $ }}
rules:
- apiGroups:
......
......@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: ozg-operator-secrets-write-role-binding-user-manager
name: ozgcloud-keycloak-operator-secrets-write-role-binding-user-manager
namespace: {{ include "app.namespace" . }}
subjects:
- kind: ServiceAccount
......@@ -10,6 +10,6 @@ subjects:
namespace: {{ required "sso.operatorNamespace muss angegeben sein" .Values.sso.operatorNamespace }}
roleRef:
kind: Role
name: ozg-operator-secrets-write-role-user-manager
name: ozgcloud-keycloak-operator-secrets-write-role-user-manager
apiGroup: rbac.authorization.k8s.io
{{- end }}
\ No newline at end of file
......@@ -38,7 +38,7 @@ tests:
- isAPIVersion:
of: operator.ozgcloud.de/v1
- isKind:
of: OzgKeycloakUser
of: OzgCloudKeycloakUser
- it: should have metadata
set:
sso:
......
......@@ -61,7 +61,7 @@ tests:
- to:
- podSelector:
matchLabels:
component: ozg-mongodb
component: ozgcloud-mongodb
ports:
- port: 27017
protocol: TCP
......
......@@ -25,7 +25,7 @@ tests:
asserts:
- equal:
path: metadata.name
value: ozg-operator-secrets-read-role-binding-user-manager
value: ozgcloud-keycloak-operator-secrets-read-role-binding-user-manager
- equal:
path: metadata.namespace
value: by-helm-test
......@@ -54,7 +54,7 @@ tests:
value: Role
- equal:
path: roleRef.name
value: ozg-operator-secrets-read-role-user-manager
value: ozgcloud-keycloak-operator-secrets-read-role-user-manager
- equal:
path: roleRef.apiGroup
value: rbac.authorization.k8s.io
......
......@@ -23,7 +23,7 @@ tests:
asserts:
- equal:
path: metadata.name
value: ozg-operator-secrets-read-role-user-manager
value: ozgcloud-keycloak-operator-secrets-read-role-user-manager
- equal:
path: metadata.namespace
value: by-helm-test
......
......@@ -25,7 +25,7 @@ tests:
asserts:
- equal:
path: metadata.name
value: ozg-operator-secrets-write-role-binding-user-manager
value: ozgcloud-keycloak-operator-secrets-write-role-binding-user-manager
- equal:
path: metadata.namespace
value: by-helm-test
......@@ -54,7 +54,7 @@ tests:
value: Role
- equal:
path: roleRef.name
value: ozg-operator-secrets-write-role-user-manager
value: ozgcloud-keycloak-operator-secrets-write-role-user-manager
- equal:
path: roleRef.apiGroup
value: rbac.authorization.k8s.io
......
......@@ -23,7 +23,7 @@ tests:
asserts:
- equal:
path: metadata.name
value: ozg-operator-secrets-write-role-user-manager
value: ozgcloud-keycloak-operator-secrets-write-role-user-manager
- equal:
path: metadata.namespace
value: by-helm-test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment