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

fix various kustomize issue #229

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tchia04
Copy link

@tchia04 tchia04 commented Jul 21, 2024

❯ kubectl version
Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0

BEFORE

❯ kubectl kustomize application | echo $?
0

❯ kubectl kustomize environments/development
error: invalid Kustomization: json: cannot unmarshal string into Go struct field Kustomization.patches of type types.Patch

❯ kubectl kustomize environments/production
error: invalid Kustomization: json: cannot unmarshal string into Go struct field Kustomization.patches of type types.Patch

AFTER

❯ kubectl kustomize application | echo $?
0


❯ kubectl kustomize environments/development | echo $?
0



❯ kubectl kustomize environments/production  | echo $?
0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant