mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Default ENABLE_CLUSTER_MONITORING to false
Otherwise kube-down fails because the variable is not defined
This commit is contained in:
parent
7eceafa656
commit
0b05068f40
@ -106,14 +106,14 @@ function ensure-temp-dir {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setup-monitoring {
|
function setup-monitoring {
|
||||||
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then
|
if [[ "${ENABLE_CLUSTER_MONITORING:-false}" == "true" ]]; then
|
||||||
# TODO: Implement this.
|
# TODO: Implement this.
|
||||||
echo "Monitoring not currently supported on AWS"
|
echo "Monitoring not currently supported on AWS"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function teardown-monitoring {
|
function teardown-monitoring {
|
||||||
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then
|
if [[ "${ENABLE_CLUSTER_MONITORING:-false}" == "true" ]]; then
|
||||||
# TODO: Implement this.
|
# TODO: Implement this.
|
||||||
echo "Monitoring not currently supported on AWS"
|
echo "Monitoring not currently supported on AWS"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user