Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patching voyager ingress fails #773

Closed
leonth opened this issue Dec 21, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@leonth
Copy link

commented Dec 21, 2017

$ cat testpatch.yaml
spec:
 tls:
 - hosts:
   - 'example.com'
   - 'www.example.com'
   secretName: example.com

$ kubectl patch ingress.voyager.appscode.com ingressname --patch "$(cat testpatch.yaml)"
Error from server: unable to find api field in struct Unstructured for the json field "spec"

Using voyager 5.0.0-rc8

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Dec 22, 2017

Strategix patch is not supported for CRD types kubernetes/kubernetes#52772

Please use merge patch or json patch https://kubernetes.io/docs/tasks/run-application/update-api-object-kubectl-patch/

@tamalsaha tamalsaha closed this Dec 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.