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

OZG-4188 OZG-4635 rename keycloak CustomResources

parent 1d15bb23
Branches
Tags
No related merge requests found
......@@ -5,7 +5,7 @@ apiVersion: api.kop-stack.de/v1
kind: KopKeycloakClient
{{- else }}
apiVersion: operator.ozgcloud.de/v1
kind: OzgKeycloakClient
kind: OzgCloudKeycloakClient
{{- end }}
metadata:
name: {{ include "app.generateKeycloakClientRessourceName" $client.client_name }}
......
---
apiVersion: operator.ozgcloud.de/v1
kind: OzgKeycloakRealm
kind: OzgCloudKeycloakRealm
metadata:
name: {{ include "app.namespace" . }}-keycloak
namespace: {{ include "app.namespace" . }}
......
{{ range $group := .Values.sso.keycloak_groups }}
---
apiVersion: operator.ozgcloud.de/v1
kind: OzgKeycloakGroup
kind: OzgCloudKeycloakGroup
metadata:
name: {{ include "app.generateKeycloakGroupRessourceName" (deepCopy $group.name) }}
namespace: {{ include "app.namespace" $ }}
......
......@@ -38,7 +38,7 @@ tests:
- isAPIVersion:
of: operator.ozgcloud.de/v1
- isKind:
of: OzgKeycloakClient
of: OzgCloudKeycloakClient
- it: should have metadata
set:
sso:
......
......@@ -34,7 +34,7 @@ tests:
- isAPIVersion:
of: operator.ozgcloud.de/v1
- isKind:
of: OzgKeycloakRealm
of: OzgCloudKeycloakRealm
- it: should have metadata
asserts:
- equal:
......
......@@ -41,7 +41,7 @@ tests:
- isAPIVersion:
of: operator.ozgcloud.de/v1
- isKind:
of: OzgKeycloakGroup
of: OzgCloudKeycloakGroup
- it: should have metadata
set:
sso:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment