Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ resources:
path: k8s.io/api/core/v1
version: v1
- api:
crdVersion: v1alpha1
namespaced: false
crdVersion: v1
controller: true
domain: openshift.io
group: multiarch
Expand All @@ -30,8 +29,7 @@ resources:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1beta1
namespaced: false
crdVersion: v1
domain: openshift.io
group: multiarch
kind: ClusterPodPlacementConfig
Expand All @@ -40,4 +38,13 @@ resources:
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: openshift.io
group: multiarch
kind: ENoExecEvent
path: github.com/openshift/multiarch-tuning-operator/apis/multiarch/v1beta1
version: v1beta1
version: "3"
64 changes: 64 additions & 0 deletions apis/multiarch/v1beta1/enoexecevent_types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/*
Copyright 2023 Red Hat, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package v1beta1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// ENoExecEventSpec defines the desired state of ENoExecEvent
type ENoExecEventSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Foo is an example field of ENoExecEvent. Edit enoexecevent_types.go to remove/update
Foo string `json:"foo,omitempty"`
}

// ENoExecEventStatus defines the observed state of ENoExecEvent
type ENoExecEventStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

// ENoExecEvent is the Schema for the enoexecevents API
type ENoExecEvent struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec ENoExecEventSpec `json:"spec,omitempty"`
Status ENoExecEventStatus `json:"status,omitempty"`
}

//+kubebuilder:object:root=true

// ENoExecEventList contains a list of ENoExecEvent
type ENoExecEventList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ENoExecEvent `json:"items"`
}

func init() {
SchemeBuilder.Register(&ENoExecEvent{}, &ENoExecEventList{})
}
89 changes: 89 additions & 0 deletions apis/multiarch/v1beta1/zz_generated.deepcopy.go

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

20 changes: 0 additions & 20 deletions bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,3 @@ LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
COPY bundle/manifests /manifests/
COPY bundle/metadata /metadata/
COPY bundle/tests/scorecard /tests/scorecard/

# Labels from hack/patch-bundle-dockerfile.sh
LABEL com.redhat.component="Multiarch Tuning Operator"
LABEL distribution-scope="public"
LABEL name="multiarch-tuning-operator-bundle"
LABEL release="1.1.1"
LABEL version="1.1.1"
LABEL url="https://github.com/openshift/multiarch-tuning-operator"
LABEL vendor="Red Hat, Inc."
LABEL description="The Multiarch Tuning Operator enhances the user experience for administrators of Openshift \
clusters with multi-architecture compute nodes or Site Reliability Engineers willing to \
migrate from single-arch to multi-arch OpenShift"
LABEL io.k8s.description="The Multiarch Tuning Operator enhances the user experience for administrators of Openshift \
clusters with multi-architecture compute nodes or Site Reliability Engineers willing to \
migrate from single-arch to multi-arch OpenShift"
LABEL summary="The Multiarch Tuning Operator enhances the user experience for administrators of Openshift \
clusters with multi-architecture compute nodes or Site Reliability Engineers willing to \
migrate from single-arch to multi-arch OpenShift"
LABEL io.k8s.display-name="Multiarch Tuning Operator"
LABEL io.openshift.tags="openshift,operator,multiarch,scheduling"
Loading