Skip to content

Commit

Permalink
add rancher/system-upgrade-controller
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Dec 26, 2023
1 parent b50d077 commit 6ae21e0
Show file tree
Hide file tree
Showing 9 changed files with 1,184 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,10 @@ Files: crd-catalog/quay/quay-operator/*
Copyright: The quay/quay-operator Authors
License: Apache-2.0

Files: crd-catalog/rancher/system-upgrade-controller/*
Copyright: The rancher/system-upgrade-controller Authors
License: Apache-2.0

Files: crd-catalog/ray-project/kuberay/*
Copyright: The ray-project/kuberay Authors
License: Apache-2.0
Expand Down
1 change: 1 addition & 0 deletions code-generator/src/bin/crd_v1_fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ fn parse_crds(content: String) -> Vec<CustomResourceDefinition> {
fn github_url(url: &str) -> String {
if !url.starts_with("https://github.com")
|| url.starts_with("https://raw.githubusercontent.com")
|| url.starts_with("https://github.com") && url.contains("releases/latest/download")
{
url.to_owned()
} else {
Expand Down
7 changes: 7 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,13 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/quay/quay-operator/blob/master/config/crd/bases/quay.redhat.com_quayregistries.yaml",
],
},
UpstreamSource {
project_name: "rancher/system-upgrade-controller",
license: APACHE_V2,
urls: &[
"https://github.com/rancher/system-upgrade-controller/releases/latest/download/crd.yaml",
],
},
UpstreamSource {
project_name: "ray-project/kuberay",
license: APACHE_V2,
Expand Down
Loading

0 comments on commit 6ae21e0

Please sign in to comment.