Skip to content

Commit d4ae82e

Browse files
committed
operator memory-machine-operator (v1.0.0-beta.1)
Signed-off-by: memverge-bot <mvbot@memverge.com>
1 parent c6addc6 commit d4ae82e

7 files changed

Lines changed: 661 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app.kubernetes.io/component: kube-rbac-proxy
7+
app.kubernetes.io/created-by: memory-machine-operator
8+
app.kubernetes.io/instance: controller-manager-metrics-service
9+
app.kubernetes.io/managed-by: kustomize
10+
app.kubernetes.io/name: service
11+
app.kubernetes.io/part-of: memory-machine-operator
12+
control-plane: controller-manager
13+
name: memory-machine-operator-controller-manager-metrics-service
14+
spec:
15+
ports:
16+
- name: https
17+
port: 8443
18+
protocol: TCP
19+
targetPort: https
20+
selector:
21+
control-plane: controller-manager
22+
status:
23+
loadBalancer: {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app.kubernetes.io/component: kube-rbac-proxy
7+
app.kubernetes.io/created-by: memory-machine-operator
8+
app.kubernetes.io/instance: metrics-reader
9+
app.kubernetes.io/managed-by: kustomize
10+
app.kubernetes.io/name: clusterrole
11+
app.kubernetes.io/part-of: memory-machine-operator
12+
name: memory-machine-operator-metrics-reader
13+
rules:
14+
- nonResourceURLs:
15+
- /metrics
16+
verbs:
17+
- get
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app.kubernetes.io/component: webhook
7+
app.kubernetes.io/created-by: memory-machine-operator
8+
app.kubernetes.io/instance: webhook-service
9+
app.kubernetes.io/managed-by: kustomize
10+
app.kubernetes.io/name: service
11+
app.kubernetes.io/part-of: memory-machine-operator
12+
name: memory-machine-operator-webhook-service
13+
spec:
14+
ports:
15+
- port: 443
16+
protocol: TCP
17+
targetPort: 9443
18+
selector:
19+
control-plane: controller-manager
20+
status:
21+
loadBalancer: {}

operators/memory-machine-operator/v1.0.0-beta.1/manifests/memory-machine-operator.clusterserviceversion.yaml

Lines changed: 368 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
cert-manager.io/inject-ca-from: memory-machine-operator-system/memory-machine-operator-serving-cert
6+
controller-gen.kubebuilder.io/version: v0.11.1
7+
creationTimestamp: null
8+
name: memorymachines.mm.memverge.com
9+
spec:
10+
group: mm.memverge.com
11+
names:
12+
kind: MemoryMachine
13+
listKind: MemoryMachineList
14+
plural: memorymachines
15+
singular: memorymachine
16+
scope: Cluster
17+
versions:
18+
- name: v1beta1
19+
schema:
20+
openAPIV3Schema:
21+
description: MemoryMachine is the Schema for the memorymachines API
22+
properties:
23+
apiVersion:
24+
description: 'APIVersion defines the versioned schema of this representation
25+
of an object. Servers should convert recognized schemas to the latest
26+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27+
type: string
28+
kind:
29+
description: 'Kind is a string value representing the REST resource this
30+
object represents. Servers may infer this from the endpoint the client
31+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32+
type: string
33+
metadata:
34+
type: object
35+
spec:
36+
default:
37+
mmHostPort: 5678
38+
description: MemoryMachineSpec defines the desired state of MemoryMachine
39+
properties:
40+
ckptStorageClass:
41+
default: ""
42+
description: StorageClass to create the checkpoint PV
43+
type: string
44+
ckptVolAccessMode:
45+
default: ReadWriteOnce
46+
description: Access mode of the checkpoint PV
47+
enum:
48+
- ReadWriteOnce
49+
- ReadWriteMany
50+
type: string
51+
mmHostPort:
52+
default: 5678
53+
description: The host port which Memory Machine daemon listens to
54+
format: int32
55+
type: integer
56+
mmImage:
57+
default: registry.connect.redhat.com/memverge/memory-machine:v3.2.0
58+
description: Memory Machine container image
59+
type: string
60+
type: object
61+
status:
62+
description: MemoryMachineStatus defines the observed state of MemoryMachine
63+
properties:
64+
conditions:
65+
description: Conditions store the status conditions of the MemoryMachine
66+
instances
67+
items:
68+
description: "Condition contains details for one aspect of the current
69+
state of this API Resource. --- This struct is intended for direct
70+
use as an array at the field path .status.conditions. For example,
71+
\n type FooStatus struct{ // Represents the observations of a
72+
foo's current state. // Known .status.conditions.type are: \"Available\",
73+
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
74+
// +listType=map // +listMapKey=type Conditions []metav1.Condition
75+
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
76+
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
77+
properties:
78+
lastTransitionTime:
79+
description: lastTransitionTime is the last time the condition
80+
transitioned from one status to another. This should be when
81+
the underlying condition changed. If that is not known, then
82+
using the time when the API field changed is acceptable.
83+
format: date-time
84+
type: string
85+
message:
86+
description: message is a human readable message indicating
87+
details about the transition. This may be an empty string.
88+
maxLength: 32768
89+
type: string
90+
observedGeneration:
91+
description: observedGeneration represents the .metadata.generation
92+
that the condition was set based upon. For instance, if .metadata.generation
93+
is currently 12, but the .status.conditions[x].observedGeneration
94+
is 9, the condition is out of date with respect to the current
95+
state of the instance.
96+
format: int64
97+
minimum: 0
98+
type: integer
99+
reason:
100+
description: reason contains a programmatic identifier indicating
101+
the reason for the condition's last transition. Producers
102+
of specific condition types may define expected values and
103+
meanings for this field, and whether the values are considered
104+
a guaranteed API. The value should be a CamelCase string.
105+
This field may not be empty.
106+
maxLength: 1024
107+
minLength: 1
108+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
109+
type: string
110+
status:
111+
description: status of the condition, one of True, False, Unknown.
112+
enum:
113+
- "True"
114+
- "False"
115+
- Unknown
116+
type: string
117+
type:
118+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
119+
--- Many .condition.type values are consistent across resources
120+
like Available, but because arbitrary conditions can be useful
121+
(see .node.status.conditions), the ability to deconflict is
122+
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
123+
maxLength: 316
124+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
125+
type: string
126+
required:
127+
- lastTransitionTime
128+
- message
129+
- reason
130+
- status
131+
- type
132+
type: object
133+
type: array
134+
type: object
135+
type: object
136+
served: true
137+
storage: true
138+
subresources:
139+
status: {}
140+
status:
141+
acceptedNames:
142+
kind: ""
143+
plural: ""
144+
conditions: null
145+
storedVersions: null
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
annotations:
2+
# Core bundle annotations.
3+
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
4+
operators.operatorframework.io.bundle.manifests.v1: manifests/
5+
operators.operatorframework.io.bundle.metadata.v1: metadata/
6+
operators.operatorframework.io.bundle.package.v1: memory-machine-operator
7+
operators.operatorframework.io.bundle.channels.v1: alpha
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.32.0
9+
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
10+
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4-alpha
11+
12+
# Annotations for testing.
13+
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
14+
operators.operatorframework.io.test.config.v1: tests/scorecard/
15+
16+
# OpenShift annotations.
17+
com.redhat.openshift.versions: v4.11
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
apiVersion: scorecard.operatorframework.io/v1alpha3
2+
kind: Configuration
3+
metadata:
4+
name: config
5+
stages:
6+
- parallel: true
7+
tests:
8+
- entrypoint:
9+
- scorecard-test
10+
- basic-check-spec
11+
image: quay.io/operator-framework/scorecard-test:v1.32.0
12+
labels:
13+
suite: basic
14+
test: basic-check-spec-test
15+
storage:
16+
spec:
17+
mountPath: {}
18+
- entrypoint:
19+
- scorecard-test
20+
- olm-bundle-validation
21+
image: quay.io/operator-framework/scorecard-test:v1.32.0
22+
labels:
23+
suite: olm
24+
test: olm-bundle-validation-test
25+
storage:
26+
spec:
27+
mountPath: {}
28+
- entrypoint:
29+
- scorecard-test
30+
- olm-crds-have-validation
31+
image: quay.io/operator-framework/scorecard-test:v1.32.0
32+
labels:
33+
suite: olm
34+
test: olm-crds-have-validation-test
35+
storage:
36+
spec:
37+
mountPath: {}
38+
- entrypoint:
39+
- scorecard-test
40+
- olm-crds-have-resources
41+
image: quay.io/operator-framework/scorecard-test:v1.32.0
42+
labels:
43+
suite: olm
44+
test: olm-crds-have-resources-test
45+
storage:
46+
spec:
47+
mountPath: {}
48+
- entrypoint:
49+
- scorecard-test
50+
- olm-spec-descriptors
51+
image: quay.io/operator-framework/scorecard-test:v1.32.0
52+
labels:
53+
suite: olm
54+
test: olm-spec-descriptors-test
55+
storage:
56+
spec:
57+
mountPath: {}
58+
- entrypoint:
59+
- scorecard-test
60+
- olm-status-descriptors
61+
image: quay.io/operator-framework/scorecard-test:v1.32.0
62+
labels:
63+
suite: olm
64+
test: olm-status-descriptors-test
65+
storage:
66+
spec:
67+
mountPath: {}
68+
storage:
69+
spec:
70+
mountPath: {}

0 commit comments

Comments
 (0)