Skip to content

Commit

Permalink
ROX-24055: Annotations for cluster upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo committed May 6, 2024
1 parent 02f45d0 commit 825ca29
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions resources/grafana/sources/rhacs-cluster-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@
"type": "dashboard"
},
"type": "dashboard"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"enable": true,
"expr": "count by(cluster) (count by (git_version, cluster) (label_replace(kubernetes_build_info{job!~\"kube-dns|coredns\"}, \"git_version\", \"$1\", \"git_version\", \"(v[0-9]*.[0-9]*).*\"))) > 1",
"iconColor": "purple",
"name": "Upgrade",
"textFormat": "Kubernetes Upgrade"
}
]
},
Expand Down
6 changes: 5 additions & 1 deletion scripts/generate-federate-match.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/usr/bin/env bash

set -eou pipefail
shopt -s inherit_errexit

# only if not OSX
if [[ $(uname) != "Darwin" ]]; then
shopt -s inherit_errexit
fi

function log() {
echo "$@" >&2
Expand Down

0 comments on commit 825ca29

Please sign in to comment.