Skip to content

Commit

Permalink
update api and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tjungblu committed Apr 15, 2024
1 parent 09a9d6c commit dcb3044
Show file tree
Hide file tree
Showing 34 changed files with 12,118 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ COPY --from=builder /go/src/github.com/openshift/cluster-etcd-operator/cluster-e
COPY manifests/ /manifests

# Operator CRD
COPY vendor/github.com/openshift/api/operator/v1/0000_12_etcd-operator_01_config-Default.crd.yaml /manifests
COPY vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml /manifests
COPY vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-Default.crd.yaml /manifests
COPY vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml /manifests

# Backup related CRDs
COPY vendor/github.com/openshift/api/operator/v1alpha1/0000_10_01_etcdbackup-TechPreviewNoUpgrade.crd.yaml /manifests
COPY vendor/github.com/openshift/api/config/v1alpha1/0000_10_config-operator_01_backup-TechPreviewNoUpgrade.crd.yaml /manifests

# Hardware Speed related CRDs
COPY vendor/github.com/openshift/api/operator/v1/0000_12_etcd-operator_01_config-TechPreviewNoUpgrade.crd.yaml /manifests
COPY vendor/github.com/openshift/api/operator/v1/0000_12_etcd-operator_01_config-CustomNoUpgrade.crd.yaml /manifests
COPY vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.crd-manifests/0000_10_01_etcdbackup-TechPreviewNoUpgrade.crd.yaml /manifests
COPY vendor/github.com/openshift/api/config/v1alpha1/zz_generated.crd-manifests/0000_10_config-operator_01_backup-TechPreviewNoUpgrade.crd.yaml /manifests

LABEL io.openshift.release.operator true
13 changes: 13 additions & 0 deletions pkg/operator/api.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package operator

// this file is only used to vendor CRD yaml

import (
_ "github.com/openshift/api/operator/v1alpha1"
_ "github.com/openshift/api/operator/v1alpha1/zz_generated.crd-manifests"

_ "github.com/openshift/api/operator/v1"
_ "github.com/openshift/api/operator/v1/zz_generated.crd-manifests"
// TODO(thomas): do we need to import the HWspeed feature separately?
// operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/HardwareSpeed.yaml
)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dcb3044

Please sign in to comment.