Migrate secret to sealedSecret #1
This commit is contained in:
parent
c3c660cbd4
commit
05d508feb8
@ -161,9 +161,9 @@ helm repo update
|
||||
helm install sealed-secrets-controller -n kube-system sealed-secrets/sealed-secrets
|
||||
```
|
||||
|
||||
Fix servicename (see [#502](https://github.com/bitnami-labs/sealed-secrets/issues/502)):
|
||||
Fix servicename (remove `name: http` - see [#502](https://github.com/bitnami-labs/sealed-secrets/issues/502)):
|
||||
```
|
||||
kubectl patch service -n kube-system sealed-secrets-controller -p '{"spec": {"ports": [{"port": 8080, protocol: "TCP", targetPort: 8080}]}}'
|
||||
kubectl edit service -n kube-system sealed-secrets-controller
|
||||
```
|
||||
|
||||
### 4) Services
|
||||
|
25
services/Adminer/sealedSecret-Adminer.yml
Normal file
25
services/Adminer/sealedSecret-Adminer.yml
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"kind": "SealedSecret",
|
||||
"apiVersion": "bitnami.com/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "adminer-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "adminer-secret",
|
||||
"namespace": "default",
|
||||
"creationTimestamp": null,
|
||||
"labels": {
|
||||
"app": "adminer"
|
||||
}
|
||||
},
|
||||
"data": null
|
||||
},
|
||||
"encryptedData": {
|
||||
"sqlitepw": "AgCoZXUB+5ukhSjBE6Ddm90PawVN2FjHTI+wH4mVqWjbUeSUS5PIlTdKFLX8GD0UoBXrqmDg+DRIA/dUz5sPpZm/SaKHvE4UaxhrfL/AF094hMrrzxcUPLyratmrYHNiwfM5PtSBF9qixQmuwsIEt36eanOFsUPoqf0yAvVVjFcxNDNVz6xtY6LPh/v/TC/S2oatRySiQMhOSfwz+MFvhJ+Yu8ZudqHonxPatbEiOpqY/RWoRaa4JQ3GFj1UdQeOWF9FMcp2APcVNhO/R4M7wtAUD3PxA2JNjW5bRu2gAq1YE4jLpYMuVkoWkPZiIFnVCLgEwEroIbovh1dZY9IUsMK0OTxroTce1PtrD7PJ7L6lO0Svma9rors1IVhPzp27dN5qf5mwvG7Qv8QcnP6NCKhbnNr5pu7TXwXz76DdT4TxtmKCD2ExVs0R90HJsq8af/fu/dGCsSN5/tsJQpaiPwSCoxX8yGPgo3q00tLJF/f6JKpYtqJ/fSwh3IRuqgemVW0wN1C0zcFfggzhU6BIWjOZ+gMcFTQHfovJ5QzKnam2cpOEDxlCAU6imvtgKbNSsZOs2GJGbzIuoJOrAbiZmgWoE+/uAZMOa1vXUcehFGa3Eth0mY4OX6l+qogHgO0ehXI+5w2U8vre3596BnSFon/ReHVXiKoxFLa1hAq4jqAFplo7OokNGwvB9vCRKRU3FPnmXyWLCzHRALLU2xBEOxJ3SemlhNalpjmo9FOV8JgX0g=="
|
||||
}
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: adminer-secret
|
||||
labels:
|
||||
app: adminer
|
||||
stringData:
|
||||
sqlitepw: '<removed>'
|
Loading…
Reference in New Issue
Block a user