-
Notifications
You must be signed in to change notification settings - Fork 8
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
Replace usage of kustomize edit add resource
in the notebooks with an alternative
#111
Comments
Also should update the markdowns that these instructions are taken from. |
PyYAML is a library to manipulate content in YAML files in Python. It does its job on the content level, not on the formatting level (if that is relevant here). |
This is a never ending story and ongoing issue across all history of Operate First. I don't think this is a valid issue. Yes, kustomize doesn't care about alphabetical order, instead it raises error on duplicate resources and supports a If a standardized tool formats a resource, there's a high chance that the output format is deterministic and if we apply the same tool on the resource again, it results in 0 diff. So if a tool prefers a formatting and we as maintainers can accept that formatting, we should start using it and favor it instead of battling the tools every time on every PR. Yes, YAML is a whitespaced markup language, but in different flavors/versions/standards it uses different amount of spaces to indent nested properties. Actually even different versions of We have a nice saying in Czech for this, not sure about the equivalent in English - "vyrábět narovnávák na ohejbák" - to create a "straightening tool" for a "bender tool" meaning that at first you work hard to bend something and then work even harder to straighten it again... This issue seems like it's suggesting such approach. I think we should invest our energy elsewhere. |
👍 to that... less custom tooling is always better. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. /close |
@sesheta: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
kustomize
cli will reformat the file and also append changes to at the bottom, this makeskustomization.yaml
files like the ones here really hard to read (we alphabetically sort these for human readability).One instance where this has already caused some issues can be found here: operate-first/apps#1236
The text was updated successfully, but these errors were encountered: