Skip to content

Commit

Permalink
Update current feature
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Oct 15, 2024
1 parent c02fc46 commit fde0daa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infra/az/machineset/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euxo pipefail

PROJECT=$(kubectl get machinesets.machine.openshift.io -n openshift-machine-api -o jsonpath="{.items[0].metadata.labels.machine\.openshift\.io\/cluster-api-cluster}")
PROJECT=$(kubectl get machinesets.machine.openshift.io -n openshift-machine-api -o jsonpath="{.items[1].metadata.labels.machine\.openshift\.io\/cluster-api-cluster}")

sed -i "s/demo-z2jlq/$PROJECT/g" machineset.yaml

Expand Down
2 changes: 1 addition & 1 deletion infra/az/openshift-delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
. $DIR/conf.sh

$DIR/openshift-install destroy cluster --dir "$INSTALL_DIR" --log-level=debug
$DIR/openshift-install destroy bootstrap --dir "$INSTALL_DIR" --log-level=debug
# $DIR/openshift-install destroy bootstrap --dir "$INSTALL_DIR" --log-level=debug

0 comments on commit fde0daa

Please sign in to comment.