Add answer for kub
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
parent
21ad34f38e
commit
f8de848c1c
|
@ -0,0 +1 @@
|
|||
*.yml
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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.
|
@ -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
|
Loading…
Reference in New Issue