Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed May 29, 2020
1 parent 9fd2f6d commit ebe3a39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/deploy/deployment_keycloak.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,10 @@ func getSpecKeycloakDeployment(checluster *orgv1.CheCluster, clusterDeployment *
" && sed -i 's/WILDCARD/ANY/g' /opt/eap/bin/launch/keycloak-spi.sh && /opt/eap/bin/openshift-launch.sh -b 0.0.0.0"
}

// update command to restart pod
command = "echo \"ssl_required IS " + (map[bool]string{true: "", false: "NOT"})[sslRequiredUpdatedForMasterRealm] + " updated for master realm\" && " + command
if sslRequiredUpdatedForMasterRealm {
// update command to restart pod
command = "echo \"ssl_required WAS UPDATED for master realm.\" && " + command
}
args := []string{"-c", command}

deployment := &appsv1.Deployment{
Expand Down

0 comments on commit ebe3a39

Please sign in to comment.