1
0
Fork 0

Add answer for kub

Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
Arnaud M 2023-03-04 23:17:57 +01:00
parent 21ad34f38e
commit f8de848c1c
5 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1 @@
*.yml

View File

@ -14,7 +14,7 @@ kubectl get nodes
```
```
NAME STATUS ROLES AGE VERSION
ansible101 Ready control-plane,master 100s v1.22.5+k3s1
isen-x Ready control-plane,master 100s v1.22.5+k3s1
```
`k3s` will use your server as `control-plane` but also as `worker` (master)

View File

@ -0,0 +1,6 @@
#!/bin/bash
find . -name '*.yml' | 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

Binary file not shown.

View File

@ -0,0 +1,7 @@
#!/bin/bash
find . -name '*.gpg' | while read f ; do
echo "Unciphering $f"
n=${f%.gpg}
cat $f | gpg -d > $n
done