Migrate secret to sealedSecret #2
This commit is contained in:
parent
05d508feb8
commit
287460bd30
@ -171,17 +171,18 @@ kubectl edit service -n kube-system sealed-secrets-controller
|
||||
```shell
|
||||
kubectl apply -f services/Adminer/configMap-Adminer.yml
|
||||
kubectl apply -f services/Adminer/deploy-Adminer.yml
|
||||
kubectl apply -f services/Adminer/sealedSecret-Adminer.yml
|
||||
```
|
||||
##### 4.2) [Vaultwarden](https://github.com/dani-garcia/vaultwarden) <small>(password manager)</small>
|
||||
*Requires [mount.cifs](https://linux.die.net/man/8/mount.cifs)' option `nobrl`*
|
||||
```shell
|
||||
kubectl apply -f services/Bitwarden/secret-Bitwarden.yml
|
||||
kubectl apply -f services/Bitwarden/deploy-Bitwarden.yml
|
||||
kubectl apply -f services/Bitwarden/sealedSecret-Bitwarden.yml
|
||||
```
|
||||
##### 4.3) [DroneCI](https://drone.io/) <small>(contineous delivery)</small>
|
||||
```shell
|
||||
kubectl apply -f services/DroneCI/secret-DroneCI.yml
|
||||
kubectl apply -f services/DroneCI/deploy-DroneCI.yml
|
||||
kubectl apply -f services/DroneCI/sealedSecret-DroneCI.yml
|
||||
```
|
||||
##### 4.4) [Gitea](https://gitea.io/) <small>(git repository)</small>
|
||||
```shell
|
||||
|
27
services/Bitwarden/sealedSecret-Bitwarden.yml
Normal file
27
services/Bitwarden/sealedSecret-Bitwarden.yml
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"kind": "SealedSecret",
|
||||
"apiVersion": "bitnami.com/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "bitwarden-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "bitwarden-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null,
|
||||
"labels": {
|
||||
"app": "bitwarden"
|
||||
}
|
||||
},
|
||||
"data": null
|
||||
},
|
||||
"encryptedData": {
|
||||
"admintoken": "AgBOegUE4Q0kKa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+DH9pgBtSDD4lGhb/2XM6o9/WWWRNrTsHnXJgtinq4jclJQ8RIVihiLWPEPbCvYEjJuMxtd+5jUMp6NKH5CHUq"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: bitwarden-secret
|
||||
labels:
|
||||
app: bitwarden
|
||||
stringData:
|
||||
admintoken: '<removed>'
|
||||
yubicoclientid: '<removed>'
|
||||
yubicosecretkey: '<removed>'
|
25
services/DDclient/sealedSecret-DDclient.yml
Normal file
25
services/DDclient/sealedSecret-DDclient.yml
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"kind": "SealedSecret",
|
||||
"apiVersion": "bitnami.com/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "ddclient-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "ddclient-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null,
|
||||
"labels": {
|
||||
"app": "ddclient"
|
||||
}
|
||||
},
|
||||
"data": null
|
||||
},
|
||||
"encryptedData": {
|
||||
"ddclient.conf": "AgDoUm5e5pbFvH0/KI0gxdxu5JusfT+28XZeuM+a3ZFJ1Agj8i/bs90JT0GcdmlObB4lTdiVu1otqnN2XMMcHki2SSIxOQUXBreSXHZUAwpSAglK9p9IuUQOkLCsnpSc7ONUrsIbDGMQXBxPhlMBhnuvTLuEpFDFD0hm/Mw2mUfWt/smA1hSs5vXCA4kXrM3gHvib2VkneBZHw95prBp8Ksf2AYHeYi5Haz0VHsUfYTtcLb3/JZaNG/j5l8y3thTrfX5su19o1sDbS5CRT5mOuta5ePUqgJktTR5Ejj9FLTwOgBDQqLIgT5luLbuWTNV5DBxfjG9s/5ozXoIvOtJvAnvnIO2CZXnDgKJS65M+KuDbZEoMrtAvEDUoSb1yyo+0qmPtP+5832fzd0q3iAJAwsdqoGlrLm3kgVY5UrZ54gocNM1rJ9CmZxr/auXQ2eS5CSyPFkHoFinalEAsQS6utjJ9aURzSI+5fq7o605HgxNABJKHMLXNC+nWQQjJ+ycsvDxDM/cmwBEEPsOt9dXYq/0zNwfA6jXS/GkJe/tcU6Fol8srb8qX8Fw+zJa44g3A3L/1dbVemnG988HtS0XnzbJeXzUef8eK/oINT8iIHxPahDh3xeKSLGifuSfYlYuvIWVBuh1KVQxRnuoKVpTYAitvkrs2FX2Y1EwuMm1eJh48BH+z3eFVFw+jQH5CEqwSRTJTZtwfAuWrVyKuaa/xuooDnOuW4CJ8IQY67X6xP1fR633VpssHakkExLORLIW51dsby5A5WcIKRIepTjy7kJjI4ej2ejWNgEXE19K0kYAvn8Oquqgn7A6npI0olsb/ccufNrLHVuY+yXVL2wHOsV+N+5g5uj6bmO6aOD2hhRFfxo5PEO1IXf7/myCX0Jiay15pCC8pbKVannhw0Hv5wxn6puO3k8JlSs98OdIYzLFUL8eypIrhnyMA6yeIQuOpl8yjMp7vGUfaLQtWgXLf7zkFuqiTzzCTEMLyD4sd7PrNySJ5rcVJZKpNS/dX5+42tO2/KgOdXiFMxe/LV/Y4LYOriAS1bGAuJhVyFVQoY1v0FxQGnbBhUOf3+vLNTrp+q4kTXdozjReQxz7X3yFFDX72Skd/Iz2wGEyuldHdvwEpm+bnBX+KggpJMjQLPt4tih0t5aaZjj76iFHJAydvYTtCw5mDwNqUJZu2IzSa0fmwnRupHfkjoVnE9A59CZebSOoCbE4HLfaBiVU"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: ddclient-secret
|
||||
labels:
|
||||
app: ddclient
|
||||
stringData:
|
||||
ddclient.conf: |
|
||||
daemon=300
|
||||
syslog=yes
|
||||
protocol=cloudflare
|
||||
use=web
|
||||
web=https://domains.google.com/checkip
|
||||
ssl=yes
|
||||
ttl=1
|
||||
login=cloudflare.com.danny@spamasaurus.com
|
||||
password=<removed>
|
||||
|
||||
zone=bessems.com
|
||||
bessems.com
|
||||
|
||||
zone=bessems.eu
|
||||
bessems.eu,deschakel.bessems.eu
|
||||
|
||||
zone=gabaldon.eu
|
||||
gabaldon.eu
|
||||
|
||||
zone=gabaldon.nl
|
||||
gabaldon.nl
|
||||
|
||||
zone=itch.fyi
|
||||
itch.fyi
|
||||
|
||||
zone=spamasaurus.com
|
||||
spamasaurus.com
|
27
services/DroneCI/sealedSecret-DroneCI.yml
Normal file
27
services/DroneCI/sealedSecret-DroneCI.yml
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"kind": "SealedSecret",
|
||||
"apiVersion": "bitnami.com/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "drone-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "drone-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null,
|
||||
"labels": {
|
||||
"app": "drone"
|
||||
}
|
||||
},
|
||||
"data": null
|
||||
},
|
||||
"encryptedData": {
|
||||
"DRONE_GITEA_CLIENT_ID": "AgDcQCtyKJYBP4B2j4zMU/OqhWOJXw6r7jpom1ehXzcQH/Q5RtnTIYSkRtkuFu+PiAStLmJCfcdkGlnIBU5D5fThT5E9T9o4BWL7LyuQI+FzVx7jsvQ/mOSIy2ahdRGPIORenKjjVektmZxzIl2PwfYsKWuD8H8gJOm6l0OHi3cfDOdBpV59erUD+GiR4G4X70a0tu1zjfC4DDtfaj8wUnP0XVvrXC7Z5rCwNUEeJiFaJcq8ntQ+vRwfyjuCiNMJILj15X3ZdWH6CcjJceGVZ/qIE7mC4OdfWqpTyOwdIaodJX7H0ehnFXmf35cgTXWOjPGolA5jlN8Fcj5zchjQa9zkytdr90ruJGqs7ioDUQk00hVoQVQDjJPGe74Jfs55ml4sIx0piwk7WuatQZJzdHwLkflLRxKYOxQU3ubPMG+PO/pi5nsIEA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HM2c2f60KWncHVTOpjUigu19xUUoARHTGxKDUg==",
|
||||
"DRONE_RPC_SECRET": "AgDVO1zyW7fGtMn9KcOIw442TrSQqWX/L2Y77AxUQasTrPf6zyNOVC714cnRfyKCZUFF8CacfmcZJw9yJ1YLzvIEDLFC//8yrJgFMEol0X6rako+uOu+yYMt74L/gr9BnAskL3AwGDzdPoeEunc0qBjQ5/x18/LEbKcCTa+FpoZ2eYQWoeGxD4sRtOyaz4d6pzn50ECoQ170Y5HSn0LDm6I7zPGMQYzD1uuuJlAel39PjI4iyIg1if2ppzS1ks4FDupwagettj6jQzcWIxW3zbAnxLFLJoqG6JH4rPIAV1oLyDumh3TJ9g2cw2UPa1hm6RxvwPeCvCTUTEUHuqoIE1vjuFVi2cD56Z7aLOj16yk2X2P23iiuUeEk7uA6k7IhO7c+nsmbkLPHvXnV3bXuyQYovVx29oFkuvbKFtEiJG5k5mzUqdkrb9Z+s/i8DkH50Ks6GrAenKDCHioi/UuYj7TbTyKYQY59w1q1S8FgMS1QyzlA+gLjUeQhZ7D3OaYFl0ZdyogGJie4gt+qGn1+ZSlgNMlFopO1cIz8AlLRPVH56LOJED0Ez8Fjjwg+B2/UN/KtB2bwsYlNzYIVOSa1NrxLe6GDxdqCsCiSdOLu9bBKN3MyQb2jF40Em0MqkUgJ0SmzQY8tSqZ7uu67qbbkwIGGZsql0h8t0vbIt2zX4wft7Rwtjj5OwxLwuV8ZS4SkUIxMVsr6xC9MnMGZ/qTzu4acJUOH9ykbBTdytgA0z2rz0Q=="
|
||||
}
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: drone-secret
|
||||
labels:
|
||||
app: drone
|
||||
stringData:
|
||||
DRONE_RPC_SECRET: '<removed>'
|
||||
DRONE_GITEA_CLIENT_ID: '<removed>'
|
||||
DRONE_GITEA_CLIENT_SECRET: '<removed>'
|
Loading…
Reference in New Issue
Block a user