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

OZG-3961 use created namespace instead of keycloak namespace

parent 66ce1f21
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,8 @@ class KeycloakUserRemoteService {
log.log(Level.INFO, "Create secret for user: " + userSpec.getKeycloakUser().getUsername());
var secretName = userSpec.getKeycloakUser().getUsername().toLowerCase() + "-credentials";
var namespace = "keycloak";
// var namespace = "keycloak";
var namespace = createdNamespace;
var secret = getSecret(secretName, namespace);
if (Objects.isNull(secret.get())) {
log.log(Level.INFO, "...secret does not exist, create one...");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment