-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: switch fec to manual config (#893)
* sync: update external libs * sync: switch fec to manual config Unfortunately, v2 of the fec types causes issues when synced automatically, ultimately due to the old version of controller-runtime used by the operator. This PR resolves the issue by making a small manual change to the sync and documenting it. --------- Co-authored-by: kononovn <[email protected]>
- Loading branch information
Showing
5 changed files
with
45 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
--- | ||
# Cannot be automatically synced due to the webhook being required by the | ||
# types file. Including the webhook causes issues because it relies on a very | ||
# old controller-runtime version. | ||
# | ||
# The only change made manually was removing these lines from | ||
# `func (in *BBDevConfig) Validate() error` in `sriovfecclusterconfig_types.go`. | ||
# | ||
# ```go | ||
# if err := hasAmbiguousBBDevConfigs(*in); err != nil { | ||
# return err | ||
# } | ||
# ``` | ||
- name: fec | ||
sync: true | ||
sync: false | ||
repo_link: "https://github.com/intel/sriov-fec-operator" | ||
branch: main | ||
remote_api_directory: api/sriovfec/v2 | ||
local_api_directory: schemes/fec/fectypes | ||
excludes: | ||
- "*_test.go" | ||
- "*_webhook.go" | ||
... |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.