Add pulumi
Signed-off-by: Arnaud M. <arnaud.choupinette@mailops.fr>
This commit is contained in:
parent
cea9007bb3
commit
204eb9b519
|
|
@ -0,0 +1 @@
|
|||
*.py
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
# Install
|
||||
|
||||
Taken from https://www.pulumi.com/docs/iac/get-started/kubernetes/
|
||||
|
||||
```
|
||||
curl -fsSL https://get.pulumi.com | sh
|
||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
||||
pulumi login --local
|
||||
pulumi new kubernetes-python -g
|
||||
pulumi install
|
||||
pulumi stack init
|
||||
# Edit __main__.py
|
||||
```
|
||||
|
||||
# Run
|
||||
|
||||
```bash
|
||||
pulumi up
|
||||
pulumi down
|
||||
```
|
||||
Binary file not shown.
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
ls -1 *.py | while read f ; do
|
||||
echo "Ciiphering $f"
|
||||
cat $f | gpg -e -r arnaud@mailops.fr -r arnaud.choupinette@mailops.fr -r arnaud.morin@gmail.com > $f.gpg
|
||||
done
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
ls -1 *.gpg | while read f ; do
|
||||
echo "Unciphering $f"
|
||||
n=${f%.gpg}
|
||||
cat $f | gpg -d > $n
|
||||
done
|
||||
Loading…
Reference in New Issue