This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Use the generic Serializer in libgitops, and fix some API machinery nits #273
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a18b48d
Add a register.go file to v1alpha1 types, and remove old deepcopy-gen…
luxas 1bc8e77
Add a common scheme package
luxas 63eaee3
Remove unused NewScheme function and add comment to investigate
luxas 9150f36
Remove unused file
luxas 41856d1
Use our new scheme package in the controller
luxas 8f39136
Don't register any types into the client-go scheme
luxas 0d18f23
Remove unused code and use our scheme instead of client-go
luxas 40fd12b
Use the libgitops serializer
luxas bfc899f
fix problems in unit tests, e.g. YAML indentatation errors
luxas 7c14009
Rewrite the manifest parsing to use kyaml & libgitops
luxas b247dc7
update references to WithManifest
luxas 9b6cd27
Use WriteFrameList instead of yaml.Concat
luxas 325ec9e
Minor review comments. Use the serializer-embedded codecs and documen…
luxas 64e9673
add double quotes to test data, as output is in JSON
luxas 060bf57
Special handling for namespaces
luxas c6ab293
Add quotes to the JSON matching test code
luxas 866cfcd
Make .spec.sshKeyPath optional
luxas 62b0846
remove unnecessary quotes
luxas 0557f31
Fix YAML indentation
luxas 2a4613e
Maybe now this is actually building YAML manifests...
luxas c40e686
YAML indentation, part 1000
luxas bcd0c42
Move scheme to pkg, fix imports, remove unnecessary AddToScheme calls
twelho 9947512
Remove deprecated register option for deepcopy-gen in v1alpha3
twelho 9ba0b10
Generalize error message when decoding sealed secrets
twelho faf7480
Avoid redundant conversions by passing an io.ReadCloser to manifest.W…
twelho File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,6 @@ spec: | |
type: string | ||
required: | ||
- cri | ||
- sshKeyPath | ||
- user | ||
type: object | ||
status: | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe for later, but I'd move this to either
github.com/weaveworks/wksctl/api/scheme
orgithub.com/weaveworks/wksctl/pkg/apis/existinginfra/scheme
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The scheme pulls in both
pkg/baremetalproviderspec/v1alpha1
andpkg/existinginfra/v1alpha3
, so it's fine to keep it underpkg
until we getpkg/apis
re-organized.