-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #389 from periklis/revert-bz1803196
Bug 1807739: Revert "Bug 1803196: Move shared config map to openshift-config-managed NS"
- Loading branch information
Showing
13 changed files
with
60 additions
and
228 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
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 |
---|---|---|
@@ -1,21 +1,16 @@ | ||
#!/bin/bash | ||
source "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/utils" | ||
assert_resources_exist(){ | ||
# verify deployments -- kibana, curator | ||
try_until_success "oc -n $NAMESPACE get deployment kibana" "${TIMEOUT_MIN}" | ||
# verify deployments -- kibana, curator | ||
try_until_success "oc -n $NAMESPACE get deployment kibana" ${TIMEOUT_MIN} | ||
|
||
# verify cron | ||
try_until_success "oc -n $NAMESPACE get cronjob curator" "${TIMEOUT_MIN}" | ||
# verify cron | ||
try_until_success "oc -n $NAMESPACE get cronjob curator" ${TIMEOUT_MIN} | ||
|
||
# verify DS | ||
try_until_success "oc -n $NAMESPACE get ds fluentd" "${TIMEOUT_MIN}" | ||
# verify DS | ||
try_until_success "oc -n $NAMESPACE get ds fluentd" ${TIMEOUT_MIN} | ||
|
||
# verify ER | ||
try_until_success "oc -n $NAMESPACE get elasticsearch elasticsearch" "${TIMEOUT_MIN}" | ||
# verify ER | ||
try_until_success "oc -n $NAMESPACE get elasticsearch elasticsearch" ${TIMEOUT_MIN} | ||
|
||
} | ||
|
||
assert_kibana_shared_config_exist() { | ||
# verify kibana shared config map | ||
try_until_success "oc -n $MANAGED_CONFIG_NAMESPACE get configmap logging-shared-config" "${TIMEOUT_MIN}" | ||
} |
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.