Skip to content

Commit

Permalink
add ROCm/gpu-operator
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Feb 11, 2024
1 parent 8ac132c commit b7cd767
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,10 @@ Files: crd-catalog/RedisLabs/redis-enterprise-k8s-docs/*
Copyright: The RedisLabs/redis-enterprise-k8s-docs Authors
License: Apache-2.0

Files: crd-catalog/ROCm/gpu-operator/*
Copyright: The ROCm/gpu-operator Authors
License: Apache-2.0

Files: crd-catalog/rook/rook/*
Copyright: The rook/rook Authors
License: Apache-2.0
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 @@ -2274,6 +2274,13 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/crds/rerc_crd.yaml",
],
},
UpstreamSource {
project_name: "ROCm/gpu-operator",
license: APACHE_V2,
urls: &[
"https://github.com/ROCm/gpu-operator/blob/master/config/crd/bases/charts.amd.com_amdgpus.yaml",
],
},
UpstreamSource {
project_name: "rook/rook",
license: APACHE_V2,
Expand Down
39 changes: 39 additions & 0 deletions crd-catalog/ROCm/gpu-operator/charts.amd.com/v1alpha1/amdgpus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
name: "amdgpus.charts.amd.com"
spec:
group: "charts.amd.com"
names:
kind: "AMDGPU"
listKind: "AMDGPUList"
plural: "amdgpus"
singular: "amdgpu"
scope: "Namespaced"
versions:
- name: "v1alpha1"
schema:
openAPIV3Schema:
description: "AMDGPU is the Schema for the amdgpus API"
properties:
apiVersion:
description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
type: "string"
kind:
description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: "string"
metadata:
type: "object"
spec:
description: "Spec defines the desired state of AMDGPU"
type: "object"
x-kubernetes-preserve-unknown-fields: true
status:
description: "Status defines the observed state of AMDGPU"
type: "object"
x-kubernetes-preserve-unknown-fields: true
type: "object"
served: true
storage: true
subresources:
status: {}
1 change: 1 addition & 0 deletions kube-custom-resources-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ ceph_rook_io = []
cert_manager_io = []
chaos_mesh_org = []
chaosblade_io = []
charts_amd_com = []
che_eclipse_org = []
chisel_operator_io = []
cilium_io = []
Expand Down
1 change: 1 addition & 0 deletions kube-custom-resources-rs/src/charts_amd_com/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod v1alpha1;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// WARNING: generated by kopium - manual changes will be overwritten
// kopium command: kopium --docs --filename=./crd-catalog/ROCm/gpu-operator/charts.amd.com/v1alpha1/amdgpus.yaml --derive=Default --derive=PartialEq
// kopium version: 0.16.5





Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod amdgpus;
7 changes: 7 additions & 0 deletions kube-custom-resources-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,11 @@ apiVersion `chaos-mesh.org/v1alpha1`:
apiVersion `chaosblade.io/v1alpha1`:
- `ChaosBlade`
## charts_amd_com
apiVersion `charts.amd.com/v1alpha1`:
- `AMDGPU`
## che_eclipse_org
apiVersion `che.eclipse.org/v1alpha1`:
Expand Down Expand Up @@ -2656,6 +2661,8 @@ pub mod cert_manager_io;
pub mod chaos_mesh_org;
#[cfg(feature = "chaosblade_io")]
pub mod chaosblade_io;
#[cfg(feature = "charts_amd_com")]
pub mod charts_amd_com;
#[cfg(feature = "che_eclipse_org")]
pub mod che_eclipse_org;
#[cfg(feature = "chisel_operator_io")]
Expand Down

0 comments on commit b7cd767

Please sign in to comment.