Skip to content

Commit

Permalink
fix: s/lastAppliedRevision/lastAttemptedRevision/ after flux bump (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
takirala authored Nov 19, 2024
1 parent 9b93c96 commit b1e2df6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
echo "Waiting for ceph operator to complete its upgrade..."
while true; do
cephOperatorVersion=$(kubectl get helmreleases.helm.toolkit.fluxcd.io -n ${releaseNamespace} rook-ceph -ogo-template={{.status.lastAppliedRevision}})
cephOperatorVersion=$(kubectl get helmreleases.helm.toolkit.fluxcd.io -n ${releaseNamespace} rook-ceph -ogo-template={{.status.lastAttemptedRevision}})
if [[ $cephOperatorVersion == ${desiredCephOperatorVersion} ]]; then
echo "Ceph operator is at same version as desired cluster version (${desiredCephOperatorVersion}). Exiting..."
break
Expand Down

0 comments on commit b1e2df6

Please sign in to comment.