Full Powershell Implementation of the demo #212
aggietallboy
started this conversation in
Show and tell
Replies: 3 comments 1 reply
-
TODO:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Wasn't quite as ugly as I expected to set up the tools on the fly Here it is:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Kong let's encrypt module: php Kong module |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As I posted in one of the issue folders, I took this as an opportunity to get some powershell and aws scripting experience
I created the .\tools folder based on the prereqs listed here:
https://open-amt-cloud-toolkit.github.io/docs/2.11/Tutorials/Scaling/Kubernetes/deployingk8s-eks/#prerequisites
In addition, I have the prerequisite that you've set up aws client with your appropriate credentials, sufficient to create clusters, vpcs etc... I don't include that in the tools folder.
I've also added and modified the PSVault.psm1 from https://github.com/D2CIT/Hashicorp-Vault (if you're happy with 3/5 vault key segments, just take it as-is)
through some trial and error, all the .dll files here are what you need to be able to run the psql and pg_isready
Running environment is Windows with powershell 7 (although it should work fine on any PS 5 or higher)
The script builds a log file, and timestamps and color codes the output to the console.
There's VERY little error control/catching, because I built a nuke script to just start over whenever I messed up.
eksdeploy.ps1
Changes to PSVault.psm1 to accomodate my 2/7 key split - Line 1552
sample config.yaml
Sample replacement file for charts-values.yaml
eksdestroy.ps1
I would attach the .ps1 files, but they're not allowed.
All together my zip file with all the tools is just under 70MB. I'm not sure about how legit posting it is, so I'll refrain
Beta Was this translation helpful? Give feedback.
All reactions