Skip to content

Commit

Permalink
Fix client and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoremepunto committed Dec 21, 2023
1 parent 9398122 commit b8e76eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ func makeLocalFeatureFlags(cache *rc.ObjectCache, o obj.ClowdObject, objMap prov
Name: "KC_VIEWER_ROLES",
Value: "viewer",
},
{
Name: "KC_CLIENT_SECRET",
Value: "notsosecret",
},
}

envVars = provutils.AppendEnvVarsFromSecret(envVars, "featureflags-db",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func makeKeycloakImportSecretRealm(cache *rc.ObjectCache, o obj.ClowdObject, pas
return fmt.Errorf("could not read unleash-realm data: %w", err)
}

unleashUsersData, err := os.ReadFile("./jsons/unleash-users.json")
unleashUsersData, err := os.ReadFile("./jsons/unleash-users-0.json")
if err != nil {
return fmt.Errorf("could not read unleash-users data: %w", err)
}
Expand All @@ -234,7 +234,7 @@ func makeKeycloakImportSecretRealm(cache *rc.ObjectCache, o obj.ClowdObject, pas

importData.StringData["redhat-external-realm.json"] = string(redhatRealmDataString)
importData.StringData["unleash-realm.json"] = string(unleashRealmData)
importData.StringData["unleash-users.json"] = string(unleashUsersData)
importData.StringData["unleash-users-0.json"] = string(unleashUsersData)

return cache.Update(WebKeycloakImportSecret, importData)
}
Expand Down

0 comments on commit b8e76eb

Please sign in to comment.