plane secret patcher
This commit is contained in:
@@ -36,6 +36,38 @@ spec:
|
||||
# ]'
|
||||
|
||||
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
|
||||
kind: ServiceAccount
|
||||
|
||||
Reference in New Issue
Block a user