On Sun, Sep 30, 2018 at 9:34 PM Kamesh Sampath <kameshs(a)redhat.com> wrote:
When i try to apply this patch on Windows it fails with an error "The patch must be
a valid JSON file." but I see same working with macOS
For windows system you need to escape the double quote, have a look to
doc section[0].
[0]
https://docs.okd.io/latest/minishift/openshift/openshift-client-binary.ht...
minishift.exe openshift config set --target=kube --patch
'{"admissionConfig":{"pluginConfig":
{"ValidatingAdmissionWebhook": {"configuration":
{"apiVersion": "v1","kind":
"DefaultAdmissionConfig","disable":
}},"MutatingAdmissionWebhook": {"configuration":
{"apiVersion": "v1", "kind":
"DefaultAdmissionConfig","disable": false}}}}}'
--
Praveen Kumar
https://fedoraproject.org/wiki/User:Kumarpraveen