Created
July 6, 2019 05:07
-
-
Save nehrman/f5a05ec1fd69683ff1a424cb7fe616b0 to your computer and use it in GitHub Desktop.
description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[snippets]] | |
description = "Consul - List all known datacenters from the catalog" | |
command = "consul catalog datacenters" | |
tag = ["consul"] | |
output = "dc1\n" | |
[[snippets]] | |
description = "Consul - List all known members of a Consul Cluster" | |
command = "consul members" | |
tag = ["consul"] | |
output = "Node Address Status Type Build Protocol DC Segment\nraspnomad01 192.168.1.60:8301 alive server 1.4.2+ent 2 dc1 <all>\n" | |
[[snippets]] | |
description = "30 - Demo Hahsiconf Step 3 - Retrieve User secret for MongoDB" | |
command = "kubectl get secret/mongodb -o jsonpath=\"{.data.database-user}\" | base64 -D" | |
tag = ["hashiconf-step3"] | |
output = "" | |
[[snippets]] | |
description = "31 - Demo Hahsiconf Step 3 - Retrieve Password secret for MongoDB" | |
command = "kubectl get secret/mongodb -o jsonpath=\"{.data.database-password}\" | base64 -D" | |
tag = ["hashiconf-step3"] | |
output = "" | |
[[snippets]] | |
description = "32 - Demo Hahsiconf Step 3 - Add User secret to KV Store" | |
command = "vault kv put kv/fruit-catatlog-mongodb user=${MONGODB_USER}" | |
tag = ["hashiconf-step2"] | |
output = "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment