forked from operator-framework/getting-started
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmemcachedoperator.0.0.2.csv.yaml
145 lines (145 loc) · 4.11 KB
/
memcachedoperator.0.0.2.csv.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# This file defines the ClusterServiceVersion (CSV) to tell the catalog how to display, create and
# manage the application as a whole. If changes are made to the CRD for this application kind,
# make sure to replace those references below as well.
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
name: memcachedoperator.v0.0.2
namespace: default
spec:
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: false
type: AllNamespaces
install:
strategy: deployment
spec:
permissions:
- serviceAccountName: memcached-operator
rules:
- apiGroups:
- ""
resources:
- pods
- services
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
verbs:
- '*'
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- '*'
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- get
- create
- apiGroups:
- apps
resourceNames:
- memcached-operator
resources:
- deployments/finalizers
verbs:
- update
- apiGroups:
- cache.example.com
resources:
- '*'
verbs:
- '*'
deployments:
- name: memcached-app-operator
spec:
replicas: 1
selector:
matchLabels:
app: memcached-app-operator
template:
metadata:
labels:
app: memcached-app-operator
spec:
containers:
- name: sao
image: quay.io/jzelinskie/memcached-operator:v0.0.2
command:
- /usr/local/bin/memcached-operator
ports:
- containerPort: 8080
protocol: TCP
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 5
serviceAccountName: memcached-operator
serviceAccount: memcached-operator
customresourcedefinitions:
owned:
- description: Represents a cluster of Memcached apps
displayName: Memcached App
kind: Memcached
name: memcacheds.cache.example.com
version: v1alpha1
resources:
- kind: Deployment
version: v1beta2
- kind: ReplicaSet
version: v1beta2
- kind: Pod
version: v1
specDescriptors:
- description: The desired number of member Pods for the deployment.
displayName: Size
path: size
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:podCount'
statusDescriptors:
- description: The current status of the application.
displayName: Status
path: phase
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes.phase'
- description: Explanation for the current status of the application.
displayName: Status Details
path: reason
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes.phase:reason'
keywords:
- memcached
- app
displayName: Memcached Application
provider:
name: Example
url: www.example.com
maturity: alpha
version: 0.0.2
replaces: memcachedoperator.v0.0.1
maintainers:
- email: [email protected]
name: Some Corp
description: Main enterprise application providing business critical features with high availabilty and no manual intervention.
labels:
alm-owner-enterprise-app: memcached-app-operator
alm-status-descriptors: memcached-app-operator.v0.0.2