Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F57324370
D4026.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
828 B
Referenced Files
None
Subscribers
None
D4026.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
Wed, Nov 18, 13:52 (16 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4245652
Default Alt Text
D4026.diff (828 B)
Attached To
Mode
D4026: Deploy or rotate Vault secrets
Attached
Detach File
Event Timeline
Log In to Comment