Skip to content

Commit

Permalink
operator k10-kasten-operator-rhmp (5.5.4)
Browse files Browse the repository at this point in the history
Resubmitting this operator bundle, so that existing customers with
v5.5.3 installed are no longer stranded from operator updates.

The `olm.skipRange` annotation was removed in this version, in favor of
using explicit `spec.skips` which is non-destructive.

Signed-off-by: Josh Manning <[email protected]>
  • Loading branch information
jsm84 committed Dec 1, 2023
1 parent 4acb030 commit 8cfd867
Show file tree
Hide file tree
Showing 7 changed files with 836 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: k10restores.apik10.kasten.io
spec:
group: apik10.kasten.io
names:
kind: K10restore
listKind: K10restoreList
plural: k10restores
singular: k10restore
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: K10restore is the Schema for the k10restores 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 K10restore
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of K10restore
type: object
x-kubernetes-preserve-unknown-fields: true
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,50 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: k10s.apik10.kasten.io
spec:
group: apik10.kasten.io
names:
kind: K10
listKind: K10List
plural: k10s
singular: k10
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: K10 is the Schema for the k10s 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 K10
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of K10
type: object
x-kubernetes-preserve-unknown-fields: true
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,17 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
control-plane: controller-manager
name: k10-kasten-operator-rhmp-controller-manager-metrics-svc
spec:
ports:
- name: https
port: 8443
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
data:
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: 127.0.0.1:8080
leaderElection:
leaderElect: true
resourceName: 811c9dc5.io
# leaderElectionReleaseOnCancel defines if the leader should step down volume
# when the Manager ends. This requires the binary to immediately end when the
# Manager is stopped, otherwise, this setting is unsafe. Setting this significantly
# speeds up voluntary leader transitions as the new leader don't have to wait
# LeaseDuration time first.
# In the default scaffold provided, the program ends immediately after
# the manager stops, so would be fine to enable this option. However,
# if you are doing or is intended to do any operation such as perform cleanups
# after the manager stops then its usage might be unsafe.
# leaderElectionReleaseOnCancel: true
kind: ConfigMap
metadata:
name: k10-kasten-operator-rhmp-manager-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: k10-kasten-operator-rhmp-metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions operators/k10-kasten-operator-rhmp/5.5.4/metadata/annotations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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: k10-kasten-operator-rhmp
operators.operatorframework.io.bundle.channels.v1: stable
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.metrics.builder: operator-sdk-v1.24.1
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1

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

# Appended to the bundle/metadata/annotations.yaml file generated by operator-sdk
# Ref: https://redhat-connect.gitbook.io/certified-operator-guide/ocp-deployment/operator-metadata/bundle-directory/managing-openshift-versions
# NOTE: must match with
# - helm/operator/generate/jsonpatch/csv_annotations_patch.yaml
# - helm/operator/generate/append/bundle.Dockerfile
com.redhat.openshift.versions: v4.8-v4.11

0 comments on commit 8cfd867

Please sign in to comment.