Open roy-work opened 1 year ago
Okay, this is partial user-error, but a.) this is really hard to see and b.) the error message could be loads more helpful in pointing me in the right direction here.
This:
patch:
needs to be,
patch: |
Kustomize requires the entire JSON patch to be double-encoded …
I think patchesJson6902.[].patch
requires the format of yaml string in multi-line literal is a reasonable reason.
Because I think patchesJson6902.[].patch
is just converted for Yaml format of json6902.
https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/patchesjson6902/
But I agree your opinion with be a better error message. /triage accepted
This issue has not been updated in over 1 year, and should be re-triaged.
You can:
/triage accepted
(org members only)/close
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/
/remove-triage accepted
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: You can't close an active issue/PR unless you authored it or you are a collaborator.
/lifecycle frozen
What happened?
If I attempt the supplied patch,
kustomize
errors.What did you expect to happen?
The patch is applied, or, if not, a usable diagnostic as to what is wrong with the input given.
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Kustomize version
v5.0.1
Operating system
MacOS