Skip to content

Commit f29fb01

Browse files
tmshortawgreene
authored andcommitted
Initial make manifests
Signed-off-by: Todd Short <[email protected]>
1 parent 6c5b247 commit f29fb01

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.10.0
7+
creationTimestamp: null
8+
name: operators.operators.operatorframework.io
9+
spec:
10+
group: operators.operatorframework.io
11+
names:
12+
kind: Operator
13+
listKind: OperatorList
14+
plural: operators
15+
singular: operator
16+
scope: Namespaced
17+
versions:
18+
- name: v1alpha1
19+
schema:
20+
openAPIV3Schema:
21+
description: Operator is the Schema for the operators 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: OperatorSpec defines the desired state of Operator
37+
properties:
38+
foo:
39+
description: Foo is an example field of Operator. Edit operator_types.go
40+
to remove/update
41+
type: string
42+
type: object
43+
status:
44+
description: OperatorStatus defines the observed state of Operator
45+
type: object
46+
type: object
47+
served: true
48+
storage: true
49+
subresources:
50+
status: {}

config/rbac/role.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: ClusterRole
4+
metadata:
5+
creationTimestamp: null
6+
name: manager-role
7+
rules:
8+
- apiGroups:
9+
- operators.operatorframework.io
10+
resources:
11+
- operators
12+
verbs:
13+
- create
14+
- delete
15+
- get
16+
- list
17+
- patch
18+
- update
19+
- watch
20+
- apiGroups:
21+
- operators.operatorframework.io
22+
resources:
23+
- operators/finalizers
24+
verbs:
25+
- update
26+
- apiGroups:
27+
- operators.operatorframework.io
28+
resources:
29+
- operators/status
30+
verbs:
31+
- get
32+
- patch
33+
- update

0 commit comments

Comments
 (0)