-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix uncomment of YAML in hack/build-manifests.sh
When we formatted the code with yamllint it was not immediately clear that we had a shell script that was performing uncommenting of lines. When done by a human, their IDE (or eyes) would see that the indentation didn't align and would adjust. This is not clear to machines, for example when performing `make build-manifests` This commit adds spaces to commented YAML lines in any kustomization.yaml to ensure that once the leading '#` has been removed that they are correctly indented. In addition the uncomment() function in hack/build-manifests.sh has been adjusted to preserve any spaces that occur after the leading `#` Signed-off-by: Dave Tucker <[email protected]>
- Loading branch information
1 parent
344f369
commit 96dd443
Showing
5 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters