Skip to content

Commit 0d9206a

Browse files
authored
operator socmmd (0.0.2) (redhat-openshift-ecosystem#5246)
* operator socmmd (0.0.1) Signed-off-by: junhyeok-im <[email protected]> * operator socmmd (0.0.2) Signed-off-by: junhyeok-im <[email protected]> * operator socmmd (0.0.2) Signed-off-by: junhyeok-im <[email protected]> * operator socmmd (0.0.2) Signed-off-by: junhyeok-im <[email protected]> * operator socmmd (0.0.2) Signed-off-by: junhyeok-im <[email protected]> --------- Signed-off-by: junhyeok-im <[email protected]>
1 parent 6a9de41 commit 0d9206a

7 files changed

+726
-0
lines changed
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.11.1
7+
creationTimestamp: null
8+
name: cmmds.cmmd.samsung.com
9+
spec:
10+
group: cmmd.samsung.com
11+
names:
12+
kind: CMMD
13+
listKind: CMMDList
14+
plural: cmmds
15+
singular: cmmd
16+
scope: Namespaced
17+
versions:
18+
- name: v1
19+
schema:
20+
openAPIV3Schema:
21+
description: CMMD is the Schema for the cmmds 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+
description: CMMDSpec defines the desired state of CMMD
37+
properties:
38+
allocate:
39+
description: Specify resource allocation manually
40+
properties:
41+
cpu:
42+
type: string
43+
memory:
44+
type: string
45+
nodeName:
46+
type: string
47+
type: object
48+
allocateMode:
49+
description: Specify resource allocation mode
50+
enum:
51+
- auto
52+
- manual
53+
type: string
54+
enable:
55+
description: Whether use of CMMD
56+
type: boolean
57+
payload:
58+
description: Specify user resource manifest. e.g.) Pod, Deployment,
59+
Replicaset
60+
type: object
61+
x-kubernetes-embedded-resource: true
62+
x-kubernetes-preserve-unknown-fields: true
63+
required:
64+
- allocateMode
65+
- enable
66+
- payload
67+
type: object
68+
status:
69+
description: CMMDStatus defines the observed state of CMMD
70+
properties:
71+
allocateMode:
72+
description: AllocateMode
73+
type: string
74+
amountMemory:
75+
description: AmountMemory
76+
format: int64
77+
type: integer
78+
amountMemoryStr:
79+
description: AmountMemoryStr
80+
type: string
81+
cpu:
82+
description: CPU
83+
type: string
84+
enable:
85+
description: Enable
86+
type: boolean
87+
kind:
88+
description: Kind
89+
type: string
90+
memory:
91+
description: Memory
92+
type: string
93+
name:
94+
description: Name
95+
type: string
96+
namespace:
97+
description: Namespace
98+
type: string
99+
nodeName:
100+
description: NodeName
101+
type: string
102+
type: object
103+
type: object
104+
served: true
105+
storage: true
106+
subresources:
107+
status: {}
108+
status:
109+
acceptedNames:
110+
kind: ""
111+
plural: ""
112+
conditions: null
113+
storedVersions: null
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.11.1
7+
creationTimestamp: null
8+
name: labels.cmmd.samsung.com
9+
spec:
10+
group: cmmd.samsung.com
11+
names:
12+
kind: Label
13+
listKind: LabelList
14+
plural: labels
15+
singular: label
16+
scope: Namespaced
17+
versions:
18+
- name: v1
19+
schema:
20+
openAPIV3Schema:
21+
description: Label is the Schema for the cmmds 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+
description: LabelSpec defines the desired state of CMMD
37+
type: object
38+
status:
39+
description: LabelStatus defines the observed state of CMMD
40+
type: object
41+
type: object
42+
served: true
43+
storage: true
44+
subresources:
45+
status: {}
46+
status:
47+
acceptedNames:
48+
kind: ""
49+
plural: ""
50+
conditions: null
51+
storedVersions: null
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
apiVersion: v1
3+
kind: Service
4+
metadata:
5+
creationTimestamp: null
6+
labels:
7+
app.kubernetes.io/component: kube-rbac-proxy
8+
app.kubernetes.io/created-by: socmmd
9+
app.kubernetes.io/instance: controller-manager-metrics-service
10+
app.kubernetes.io/managed-by: kustomize
11+
app.kubernetes.io/name: service
12+
app.kubernetes.io/part-of: socmmd
13+
control-plane: controller-manager
14+
name: socmmd-controller-manager-metrics-service
15+
spec:
16+
ports:
17+
- name: https
18+
port: 8443
19+
protocol: TCP
20+
targetPort: https
21+
selector:
22+
control-plane: controller-manager
23+
status:
24+
loadBalancer: {}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: ClusterRole
4+
metadata:
5+
creationTimestamp: null
6+
labels:
7+
app.kubernetes.io/component: kube-rbac-proxy
8+
app.kubernetes.io/created-by: socmmd
9+
app.kubernetes.io/instance: metrics-reader
10+
app.kubernetes.io/managed-by: kustomize
11+
app.kubernetes.io/name: clusterrole
12+
app.kubernetes.io/part-of: socmmd
13+
name: socmmd-metrics-reader
14+
rules:
15+
- nonResourceURLs:
16+
- /metrics
17+
verbs:
18+
- get

0 commit comments

Comments
 (0)