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
Branches
Tags
No related merge requests found
Showing
with 16 additions and 16 deletions
{{ if .Values.sso.api_user }} {{ if .Values.sso.api_user }}
--- ---
apiVersion: operator.ozgcloud.de/v1 apiVersion: operator.ozgcloud.de/v1
kind: OzgKeycloakUser kind: OzgCloudKeycloakUser
metadata: metadata:
name: {{ include "app.generateKeycloakUserRessourceName" . }} name: {{ include "app.generateKeycloakUserRessourceName" . }}
namespace: {{ include "app.namespace" . }} namespace: {{ include "app.namespace" . }}
......
...@@ -45,7 +45,7 @@ spec: ...@@ -45,7 +45,7 @@ spec:
- to: - to:
- podSelector: - podSelector:
matchLabels: matchLabels:
component: ozg-mongodb component: ozgcloud-mongodb
ports: ports:
- port: 27017 - port: 27017
protocol: TCP protocol: TCP
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: ozg-operator-secrets-read-role-user-manager name: ozgcloud-keycloak-operator-secrets-read-role-user-manager
namespace: {{ include "app.namespace" $ }} namespace: {{ include "app.namespace" $ }}
rules: rules:
- apiGroups: - apiGroups:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: ozg-operator-secrets-read-role-binding-user-manager name: ozgcloud-keycloak-operator-secrets-read-role-binding-user-manager
namespace: {{ include "app.namespace" . }} namespace: {{ include "app.namespace" . }}
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
...@@ -10,6 +10,6 @@ subjects: ...@@ -10,6 +10,6 @@ subjects:
namespace: {{ required "sso.operatorNamespace muss angegeben sein" .Values.sso.operatorNamespace }} namespace: {{ required "sso.operatorNamespace muss angegeben sein" .Values.sso.operatorNamespace }}
roleRef: roleRef:
kind: Role kind: Role
name: ozg-operator-secrets-read-role-user-manager name: ozgcloud-keycloak-operator-secrets-read-role-user-manager
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
{{- end }} {{- end }}
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: ozg-operator-secrets-write-role-user-manager name: ozgcloud-keycloak-operator-secrets-write-role-user-manager
namespace: {{ include "app.namespace" $ }} namespace: {{ include "app.namespace" $ }}
rules: rules:
- apiGroups: - apiGroups:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: ozg-operator-secrets-write-role-binding-user-manager name: ozgcloud-keycloak-operator-secrets-write-role-binding-user-manager
namespace: {{ include "app.namespace" . }} namespace: {{ include "app.namespace" . }}
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
...@@ -10,6 +10,6 @@ subjects: ...@@ -10,6 +10,6 @@ subjects:
namespace: {{ required "sso.operatorNamespace muss angegeben sein" .Values.sso.operatorNamespace }} namespace: {{ required "sso.operatorNamespace muss angegeben sein" .Values.sso.operatorNamespace }}
roleRef: roleRef:
kind: Role kind: Role
name: ozg-operator-secrets-write-role-user-manager name: ozgcloud-keycloak-operator-secrets-write-role-user-manager
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
{{- end }} {{- end }}
\ No newline at end of file
...@@ -38,7 +38,7 @@ tests: ...@@ -38,7 +38,7 @@ tests:
- isAPIVersion: - isAPIVersion:
of: operator.ozgcloud.de/v1 of: operator.ozgcloud.de/v1
- isKind: - isKind:
of: OzgKeycloakUser of: OzgCloudKeycloakUser
- it: should have metadata - it: should have metadata
set: set:
sso: sso:
......
...@@ -61,7 +61,7 @@ tests: ...@@ -61,7 +61,7 @@ tests:
- to: - to:
- podSelector: - podSelector:
matchLabels: matchLabels:
component: ozg-mongodb component: ozgcloud-mongodb
ports: ports:
- port: 27017 - port: 27017
protocol: TCP protocol: TCP
......
...@@ -25,7 +25,7 @@ tests: ...@@ -25,7 +25,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-secrets-read-role-binding-user-manager value: ozgcloud-keycloak-operator-secrets-read-role-binding-user-manager
- equal: - equal:
path: metadata.namespace path: metadata.namespace
value: by-helm-test value: by-helm-test
...@@ -54,7 +54,7 @@ tests: ...@@ -54,7 +54,7 @@ tests:
value: Role value: Role
- equal: - equal:
path: roleRef.name path: roleRef.name
value: ozg-operator-secrets-read-role-user-manager value: ozgcloud-keycloak-operator-secrets-read-role-user-manager
- equal: - equal:
path: roleRef.apiGroup path: roleRef.apiGroup
value: rbac.authorization.k8s.io value: rbac.authorization.k8s.io
......
...@@ -23,7 +23,7 @@ tests: ...@@ -23,7 +23,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-secrets-read-role-user-manager value: ozgcloud-keycloak-operator-secrets-read-role-user-manager
- equal: - equal:
path: metadata.namespace path: metadata.namespace
value: by-helm-test value: by-helm-test
......
...@@ -25,7 +25,7 @@ tests: ...@@ -25,7 +25,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-secrets-write-role-binding-user-manager value: ozgcloud-keycloak-operator-secrets-write-role-binding-user-manager
- equal: - equal:
path: metadata.namespace path: metadata.namespace
value: by-helm-test value: by-helm-test
...@@ -54,7 +54,7 @@ tests: ...@@ -54,7 +54,7 @@ tests:
value: Role value: Role
- equal: - equal:
path: roleRef.name path: roleRef.name
value: ozg-operator-secrets-write-role-user-manager value: ozgcloud-keycloak-operator-secrets-write-role-user-manager
- equal: - equal:
path: roleRef.apiGroup path: roleRef.apiGroup
value: rbac.authorization.k8s.io value: rbac.authorization.k8s.io
......
...@@ -23,7 +23,7 @@ tests: ...@@ -23,7 +23,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: metadata.name path: metadata.name
value: ozg-operator-secrets-write-role-user-manager value: ozgcloud-keycloak-operator-secrets-write-role-user-manager
- equal: - equal:
path: metadata.namespace path: metadata.namespace
value: by-helm-test 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