You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When deciding what files to pass to kubectl, gotk ignores .json files in its target repository/branch/path.
To Reproduce
Set up a cluster with gotk. Add a valid namespace manifest file such as the one below to the target git repo/branch/path and name it *.json
Expected behavior
Gotk should pick up this file and apply it to the cluster under management.
What actually happens
Gotk notices that the git repo has changed, but does not apply the json file. Just renaming the json file to yaml does not work either.
Additional notes
.yaml, .yml and .json files are all accepted by kubectl, and gotk should mirror this behaviour.
The text was updated successfully, but these errors were encountered:
Stolen from fluxcd/flux#2755
Describe the bug
When deciding what files to pass to kubectl, gotk ignores .json files in its target repository/branch/path.
To Reproduce
Set up a cluster with gotk. Add a valid namespace manifest file such as the one below to the target git repo/branch/path and name it *.json
Expected behavior
Gotk should pick up this file and apply it to the cluster under management.
What actually happens
Gotk notices that the git repo has changed, but does not apply the json file. Just renaming the json file to yaml does not work either.
Additional notes
.yaml, .yml and .json files are all accepted by kubectl, and gotk should mirror this behaviour.
The text was updated successfully, but these errors were encountered: