-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restart pods after dataset is created (#776)
Signed-off-by: Kamesh Akella <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Restart Keycloak Pods | ||
description: Restart Keycloak Pods and wait | ||
|
||
inputs: | ||
project: | ||
description: OpenShift project where Keycloak is running | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- id: restart-keycloak-pods | ||
shell: bash | ||
run: | | ||
kubectl delete pods -n "${{ inputs.project }}" -l app=keycloak | ||
kubectl wait --for=condition=Ready --timeout=1200s keycloaks.k8s.keycloak.org/keycloak -n "${{ inputs.project }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters