diff --git a/operators/minio-eos-operator-rhmp/1.0.0/manifests/apps.example.com_myapps.yaml b/operators/minio-eos-operator-rhmp/1.0.0/manifests/apps.example.com_myapps.yaml new file mode 100644 index 000000000..4a4c2b718 --- /dev/null +++ b/operators/minio-eos-operator-rhmp/1.0.0/manifests/apps.example.com_myapps.yaml @@ -0,0 +1,62 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + creationTimestamp: null + name: myapps.apps.example.com +spec: + group: apps.example.com + names: + kind: MyApp + listKind: MyAppList + plural: myapps + singular: myapp + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: MyApp is the Schema for the myapps 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: MyAppSpec defines the desired state of MyApp + properties: + foo: + description: Foo is an example field of MyApp. Edit myapp_types.go + to remove/update + type: string + message: + type: string + type: object + status: + description: MyAppStatus defines the observed state of MyApp + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/operators/minio-eos-operator-rhmp/1.0.0/manifests/controller-manager-metrics-service_v1_service.yaml b/operators/minio-eos-operator-rhmp/1.0.0/manifests/controller-manager-metrics-service_v1_service.yaml new file mode 100644 index 000000000..726330764 --- /dev/null +++ b/operators/minio-eos-operator-rhmp/1.0.0/manifests/controller-manager-metrics-service_v1_service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: tmp + control-plane: controller-manager + name: controller-manager-metrics-service +spec: + ports: + - name: https + port: 8443 + protocol: TCP + targetPort: https + selector: + control-plane: controller-manager +status: + loadBalancer: {} diff --git a/operators/minio-eos-operator-rhmp/1.0.0/manifests/metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml b/operators/minio-eos-operator-rhmp/1.0.0/manifests/metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml new file mode 100644 index 000000000..87ac343da --- /dev/null +++ b/operators/minio-eos-operator-rhmp/1.0.0/manifests/metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml @@ -0,0 +1,13 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: tmp + name: metrics-reader +rules: +- nonResourceURLs: + - /metrics + verbs: + - get diff --git a/operators/minio-eos-operator-rhmp/1.0.0/manifests/minio-operator-rhmp.clusterserviceversion.yaml b/operators/minio-eos-operator-rhmp/1.0.0/manifests/minio-operator-rhmp.clusterserviceversion.yaml new file mode 100644 index 000000000..4fd78da98 --- /dev/null +++ b/operators/minio-eos-operator-rhmp/1.0.0/manifests/minio-operator-rhmp.clusterserviceversion.yaml @@ -0,0 +1,260 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: '[]' + capabilities: Basic Install + createdAt: "2024-09-04T23:40:20Z" + operators.operatorframework.io/builder: operator-sdk-v1.36.1 + operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 + name: minio-operator-rhmp.v1.0.0 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - kind: MyApp + name: myapps.apps.example.com + version: v1alpha1 + description: Minio Operator Rhmp description. TODO. + displayName: Minio Operator Rhmp + icon: + - base64data: "" + mediatype: "" + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + - apiGroups: + - "" + resources: + - services + verbs: + - create + - get + - list + - watch + - update + - delete + - patch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterroles + - clusterrolebindings + - rolebindings + - roles + verbs: + - create + - get + - list + - watch + - update + - delete + - patch + - bind + - escalate + - apiGroups: + - "" + resources: + - serviceaccounts + verbs: + - create + - get + - list + - watch + - update + - delete + - patch + - apiGroups: + - "" + resources: + - namespaces + verbs: + - create + - get + - list + - watch + - update + - delete + - patch + - apiGroups: + - apps + resources: + - statefulsets + verbs: + - create + - get + - list + - watch + - update + - delete + - patch + - apiGroups: + - "" + resources: + - events + verbs: + - create + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - create + - update + - apiGroups: + - apps.example.com + resources: + - myapps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - apps.example.com + resources: + - myapps/finalizers + verbs: + - update + - apiGroups: + - apps.example.com + resources: + - myapps/status + verbs: + - get + - patch + - update + serviceAccountName: controller-manager + deployments: + - label: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: tmp + control-plane: controller-manager + name: controller-manager + spec: + replicas: 1 + selector: + matchLabels: + control-plane: controller-manager + strategy: {} + template: + metadata: + annotations: + kubectl.kubernetes.io/default-container: manager + labels: + control-plane: controller-manager + spec: + containers: + - args: + - --leader-elect + command: + - /manager + image: quay.io/cniackz4/meta@sha256:5fe455828d8c97122ba3a7f76a213a720d99b834ed6ef32a0ce538f4b89a101d + imagePullPolicy: Never + livenessProbe: + httpGet: + path: /healthz + port: 8081 + initialDelaySeconds: 15 + periodSeconds: 20 + name: manager + readinessProbe: + httpGet: + path: /readyz + port: 8081 + initialDelaySeconds: 5 + periodSeconds: 10 + resources: + limits: + cpu: 500m + memory: 128Mi + requests: + cpu: 10m + memory: 64Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + securityContext: + runAsNonRoot: true + serviceAccountName: controller-manager + terminationGracePeriodSeconds: 10 + permissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch + serviceAccountName: controller-manager + strategy: deployment + installModes: + - supported: false + type: OwnNamespace + - supported: false + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - minio-operator-rhmp + links: + - name: Minio Operator Rhmp + url: https://minio-operator-rhmp.domain + maintainers: + - email: your@email.com + name: Maintainer Name + maturity: alpha + provider: + name: Provider Name + url: https://your.domain + relatedImages: + - image: quay.io/cniackz4/meta@sha256:5fe455828d8c97122ba3a7f76a213a720d99b834ed6ef32a0ce538f4b89a101d + name: manager + version: 1.0.0 diff --git a/operators/minio-eos-operator-rhmp/1.0.0/manifests/myapp-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml b/operators/minio-eos-operator-rhmp/1.0.0/manifests/myapp-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml new file mode 100644 index 000000000..33dd14f05 --- /dev/null +++ b/operators/minio-eos-operator-rhmp/1.0.0/manifests/myapp-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml @@ -0,0 +1,27 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: tmp + name: myapp-editor-role +rules: +- apiGroups: + - apps.example.com + resources: + - myapps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps.example.com + resources: + - myapps/status + verbs: + - get diff --git a/operators/minio-eos-operator-rhmp/1.0.0/manifests/myapp-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml b/operators/minio-eos-operator-rhmp/1.0.0/manifests/myapp-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml new file mode 100644 index 000000000..d6c84b5bb --- /dev/null +++ b/operators/minio-eos-operator-rhmp/1.0.0/manifests/myapp-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml @@ -0,0 +1,23 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: tmp + name: myapp-viewer-role +rules: +- apiGroups: + - apps.example.com + resources: + - myapps + verbs: + - get + - list + - watch +- apiGroups: + - apps.example.com + resources: + - myapps/status + verbs: + - get diff --git a/operators/minio-eos-operator-rhmp/1.0.0/metadata/annotations.yaml b/operators/minio-eos-operator-rhmp/1.0.0/metadata/annotations.yaml new file mode 100644 index 000000000..f1a3b6bdb --- /dev/null +++ b/operators/minio-eos-operator-rhmp/1.0.0/metadata/annotations.yaml @@ -0,0 +1,10 @@ +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: minio-operator-rhmp + operators.operatorframework.io.bundle.channels.v1: stable + operators.operatorframework.io.metrics.builder: operator-sdk-v1.36.1 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4 diff --git a/operators/minio-eos-operator-rhmp/ci.yaml b/operators/minio-eos-operator-rhmp/ci.yaml new file mode 100644 index 000000000..3096ea71e --- /dev/null +++ b/operators/minio-eos-operator-rhmp/ci.yaml @@ -0,0 +1 @@ +cert_project_id: 66db88882e86535b36a62a9f