Skip to content

Commit

Permalink
Updated ONUMO to 0.2.34 (#5731)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Skrzypek <[email protected]>
  • Loading branch information
shpwrck authored Jan 7, 2025
1 parent e718db2 commit b768ccb
Show file tree
Hide file tree
Showing 8 changed files with 1,291 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: openshift-node-upgrade-mutex-operator
app.kubernetes.io/instance: metrics-reader
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrole
app.kubernetes.io/part-of: openshift-node-upgrade-mutex-operator
name: openshift-node-upgrade-mutex-operator-metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: openshift-node-upgrade-mutex-operator
app.kubernetes.io/instance: controller-manager-metrics-service
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: service
app.kubernetes.io/part-of: openshift-node-upgrade-mutex-operator
control-plane: controller-manager
name: openshift-node-upgrade-mutex-operator-service
spec:
ports:
- name: https
port: 8443
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
status:
loadBalancer: {}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: mutexrules.openshift-optional.skrzypek.io
spec:
group: openshift-optional.skrzypek.io
names:
categories:
- numo
kind: MutexRule
listKind: MutexRuleList
plural: mutexrules
singular: mutexrule
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Generated Job Name Prefix
jsonPath: .spec.jobName
name: Job Name
type: string
- description: Generated Job Namespace
jsonPath: .spec.jobNamespace
name: Job Namespace
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: MutexRule is the Schema for the mutexrules 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 MutexRule
properties:
jobName:
description: |
The prefix used for jobs generated by this configuration. A 'jobName' of "testjob" will generate jobs similar to "testjob-e7va7".
type: string
jobNamespace:
description: |
The namespace that will contain all of the jobs generated by this configuration. **This field does not create the appropriate RBAC**
type: string
jobSpec:
description: |
Schema available here: 'https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/v3/apis__batch__v1_openapi.json#L320'
type: object
x-kubernetes-preserve-unknown-fields: true
type:
description: |
This field allows for future resource rule types. Currently it only supports 'kubernetes'
enum:
- kubernetes
type: string
type: object
status:
description: Status defines the observed state of MutexRule
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: mutexrunconfigs.openshift-optional.skrzypek.io
spec:
group: openshift-optional.skrzypek.io
names:
categories:
- numo
kind: MutexRunConfig
listKind: MutexRunConfigList
plural: mutexrunconfigs
singular: mutexrunconfig
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Name of Canary Machine Config Pool
jsonPath: .spec.canary.name
name: Canary
type: string
- description: List of Mutex Rules
jsonPath: .spec.mutexRules
name: Rules
type: string
- description: List of Mutex Targets
jsonPath: .spec.mutexTargets
name: Targets
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: MutexRunConfig is the Schema for the mutexrunconfigs 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 MutexRunConfig
properties:
canary:
description: Information pertaining to the **existing** machineConfigPool
in which upgrades can occur
properties:
name:
description: Name of an existing machineConfigPool not included
in any mutexTargets
type: string
type: object
mutexRules:
description: Information pertaining to the **existing** mutexRules
items:
properties:
name:
description: Name of an existing mutexRule resource
type: string
namespace:
description: Namespace of an existing mutexRule resource
type: string
type: object
type: array
mutexTargets:
description: Information pertaining to the **existing** mutexTargets
items:
properties:
name:
description: Name of an existing mutexRule resource
type: string
namespace:
description: Namespace of an existing mutexTarget resource
type: string
type: object
type: array
type: object
status:
description: Status defines the observed state of MutexRule
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: mutextargets.openshift-optional.skrzypek.io
spec:
group: openshift-optional.skrzypek.io
names:
categories:
- numo
kind: MutexTarget
listKind: MutexTargetList
plural: mutextargets
singular: mutextarget
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: List of target Machine Config Pools
jsonPath: .spec.machineConfigPools
name: Machine Config Pools
type: string
- description: List of target Nodes
jsonPath: .status.nodes
name: Nodes
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: MutexTarget is the Schema for the mutextargets 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 MutexTarget
properties:
machineConfigPools:
description: A list of machineConfigPool resources to gather node
membership and apply mutex rules to.
items:
type: string
type: array
type: object
status:
description: Status defines the observed state of MutexRule
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
nodes:
description: A list of all nodes belonging to specified Machine Config
Pools
items:
description: Node Name
type: string
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
annotations:
# Core bundle annotations.
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: openshift-node-upgrade-mutex-operator
operators.operatorframework.io.bundle.channels.v1: alpha
operators.operatorframework.io.metrics.builder: operator-sdk-v1.38.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: ansible.sdk.operatorframework.io/v1

# Annotations for testing.
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
operators.operatorframework.io.test.config.v1: tests/scorecard/

com.redhat.openshift.versions: v4.14
Loading

0 comments on commit b768ccb

Please sign in to comment.