Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F25162481
D4026.id10535.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
828 B
Referenced Files
None
Subscribers
None
D4026.id10535.diff
View Options
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,8 @@
RM=rm -f
MKDIR=mkdir -p
MV=mv
+SALT=salt
+TF=terraform
# -------------------------------------------------------------
# Main targets
@@ -51,3 +53,13 @@
clean-api:
${RM} ${API_DIR}/all-states.json
+
+# -------------------------------------------------------------
+# Deployment targets
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+deploy-secrets:
+ (cd terraform/openbao && ${TF} init && ${TF} apply)
+ ${SALT} windriver state.sls_id /usr/local/etc/secrets/rhyne-wyse.yaml roles/reports/rhyne-wyse/config
+ ${SALT} windriver state.sls_id /srv/viperserv/.credentials roles/viperserv/eggdrop/config
+ ${SALT} -G 'roles:router' state.sls_id /usr/local/etc/secrets/carp-secretsmith.yaml roles/router/carp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 11:35 (9 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3590650
Default Alt Text
D4026.id10535.diff (828 B)
Attached To
Mode
D4026: Deploy or rotate Vault secrets
Attached
Detach File
Event Timeline
Log In to Comment