Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P96531
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Joe
on Mon, Sep 28, 3:37 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Project Tags
None
Referenced Files
F105281004: raw-paste-data.txt
Mon, Sep 28, 3:37 PM
2026-09-28 15:37:27 (UTC+0)
Subscribers
None
POD_CREATION_DATE=$(date --date=$(kubectl -n shellbox-timeline get pods -o json | jq '.items | .[0] | .metadata.creationTimestamp' | sed -e s/\"//g) +"%s")
CERT_CREATION_TIME=$(date --date=$(kubectl -n shellbox-timeline get certificates -o json | jq '.items | .[0] | .status.notBefore' | sed -e s/\"//g) +"%s")
if [ $CERT_CREATION_TIME -gt $POD_CREATION_DATE ]; then
pushd /srv/deployment-charts/services/helmfile.d/shellbox-timeline
helmfile -e eqiad --state-values-set roll_restart=1 sync
fi
Event Timeline
Joe
created this paste.
Mon, Sep 28, 3:37 PM
2026-09-28 15:37:27 (UTC+0)
Log In to Comment