Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Jun 10, 2024
1 parent 96da6a4 commit 22f8103
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/operator/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,18 @@ kc.loadFromCluster()
const k8sApi = kc.makeApiClient(k8s.CoreV1Api)

async function runKeycloakUpdater(key: string) {
if (!env.FEAT_EXTERNAL_IDP || !env.IDP_ALIAS || !env.IDP_OIDC_URL || !env.KC_HOSTNAME_URL || !env.KEYCLOAK_ADDRESS_INTERNAL || !env.KEYCLOAK_ADMIN || !env.KEYCLOAK_ADMIN_PASSWORD || !env.KEYCLOAK_REALM || !env.KEYCLOAK_TOKEN_TTL || !env.WAIT_OPTIONS) {
if (
!env.FEAT_EXTERNAL_IDP ||
!env.IDP_ALIAS ||
!env.IDP_OIDC_URL ||
!env.KC_HOSTNAME_URL ||
!env.KEYCLOAK_ADDRESS_INTERNAL ||
!env.KEYCLOAK_ADMIN ||
!env.KEYCLOAK_ADMIN_PASSWORD ||
!env.KEYCLOAK_REALM ||
!env.KEYCLOAK_TOKEN_TTL ||
!env.WAIT_OPTIONS
) {
console.info('Missing required variables for Keycloak setup/reconfiguration')
return
}
Expand Down

0 comments on commit 22f8103

Please sign in to comment.