Skip to content

Commit

Permalink
Fix key rotation annotation update
Browse files Browse the repository at this point in the history
  • Loading branch information
afaranha committed Nov 27, 2024
1 parent a656539 commit 243be52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/kuttl/common/scripts/rotate_token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ for i in {1..6}; do
sleep 20 # make sure a rollout started
oc rollout status deployment/keystone -n $NAMESPACE

oc annotate secret keystone -n $NAMESPACE rotatedat='2009-11-10T23:00:00Z'
oc patch secret keystone -n $NAMESPACE --type=merge -p '{"metadata":{"annotations":{"keystone.openstack.org/rotatedat":"2009-11-10T23:00:00Z"}}}'

done

0 comments on commit 243be52

Please sign in to comment.