Skip to content

Commit

Permalink
operator minio-eos-operator-rhmp (1.0.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
cniackz committed Sep 6, 2024
1 parent 19ff0c5 commit 5e19739
Show file tree
Hide file tree
Showing 8 changed files with 415 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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: {}
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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: [email protected]
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
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 5e19739

Please sign in to comment.