plane secret patcher

This commit is contained in:
titver968
2025-11-18 10:17:20 +01:00
parent ed93ca4208
commit 99c6894354

View File

@@ -36,6 +36,38 @@ spec:
# ]' # ]'
echo "Secrets patched successfully" echo "Secrets patched successfully"
kubectl patch deployment plane-api-wl -n plane --type='json' -p='[
{
"op": "add",
"path": "/spec/template/spec/dnsConfig",
"value": {
"options": [{"name": "ndots", "value": "1"}]
}
}
]'
# Patch Worker Deployment
kubectl patch deployment plane-worker-wl -n plane --type='json' -p='[
{
"op": "add",
"path": "/spec/template/spec/dnsConfig",
"value": {
"options": [{"name": "ndots", "value": "1"}]
}
}
]'
# Patch Beat Worker
kubectl patch deployment plane-beat-worker-wl -n plane --type='json' -p='[
{
"op": "add",
"path": "/spec/template/spec/dnsConfig",
"value": {
"options": [{"name": "ndots", "value": "1"}]
}
}
]'
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount