Closed wiktor-k closed 2 months ago
This issue is currently awaiting triage.
SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted
label.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
I am not sure but think you can achieve this by using Kustomize. But seems like a good idea to have this option too, +1 for me, but IDK about limitation there might be some. I'll try to ask this in SIG's meeting next week.
/close In addition to kustomize this could also be accomplished via shell scripting or a plugin. Closing this issue as it is possible using other tooling.
@mpuckett159: Closing this issue.
What would you like to be added:
Support for ignoring files when using
kubectl apply -f .
, e.g. by introducing the.kubeignore
file (similar to.gitignore
,.dockerignore
).Why is this needed:
I'm using ApplySets to manage a consistent state of the cluster that matches a directory:
And in the same directory I need to keep a couple of files that help in development (e.g. kubelinter). Currently the output is:
Of course I don't want to disable the validation.
Alternative solution would be ignoring hidden files (prefixed with a
.
).(I've searched the issues and except for this ticket there were no matches).
Thanks for your time and work on this great tool! :wave: