diff --git a/Earthfile b/Earthfile index afb6baa60fdd09b3f23cc49f55f0d4d8ae1042ba..4bbff6094a6d22b8c3d434809e6f6ce24d4f0ef9 100644 --- a/Earthfile +++ b/Earthfile @@ -33,7 +33,13 @@ merge: RUN git push RUN git push origin --delete ${branch} +# rotate will rotate encryption keys in sops-encrypted files rotate: LOCALLY RUN grep -Ril "sops:" ./**/*.yaml | xargs sops -r -i +# enable-autoupdates enables the fedora autoupdating form the system-upgrades namespace +enable-autoupdates: + LOCALLY + ARG --required node + RUN kubectl label node "${node}" upgrade.shivering-isles.com/fedora-autoupdate=true