This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -eu | |
| max_number_rev=10 | |
| namespaces=( "kube-system" ) | |
| for namespace in $namespaces | |
| do | |
| releases=$(kubectl --namespace=$namespace get cm -l OWNER=TILLER -o go-template --template='{{range .items}}{{ .metadata.labels.NAME }}{{"\n"}}{{ end }}' | sort -u) |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -eu | |
| # defaulting the context to a blank string just uses the currently configured context | |
| context=${1:-""} | |
| max_number_rev=10 | |
| declare -a namespaces=( "kube-system" ) |
This file contains hidden or 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
| # A popeye configuration file to check a | |
| # Giant Swarm tenant cluster before upgrading. | |
| # | |
| # This configuration suppresses many useful checks for best practices that are also relevant | |
| # in general, with the one goal: to highlight any details that could cause problems | |
| # during an upgrade. | |
| # | |
| # Tested with popeye 0.9.0 | |
| # | |
| # More about popeye: https://github.com/derailed/popeye |
OlderNewer