Skip to content

Commit 9830d81

Browse files
committed
[skip-ci] Update artifacts
1 parent d9fd0fb commit 9830d81

4 files changed

+282
-2
lines changed

bundle/manifests/slack-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ metadata:
2424
capabilities: Basic Install
2525
operators.operatorframework.io/builder: operator-sdk-v1.0.0
2626
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
27-
name: slack-operator.v0.0.1
27+
name: slack-operator.v0.0.2
2828
namespace: placeholder
2929
spec:
3030
apiservicedefinitions: {}
@@ -170,4 +170,5 @@ spec:
170170
provider:
171171
name: stakater
172172
url: https://stakater.com
173-
version: 0.0.1
173+
replaces: slack-operator.v0.0.1
174+
version: 0.0.2
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: rbac.authorization.k8s.io/v1beta1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
name: slack-operator-metrics-reader
6+
rules:
7+
- nonResourceURLs:
8+
- /metrics
9+
verbs:
10+
- get
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: ClusterServiceVersion
3+
metadata:
4+
annotations:
5+
alm-examples: |-
6+
[
7+
{
8+
"apiVersion": "slack.stakater.com/v1alpha1",
9+
"kind": "Channel",
10+
"metadata": {
11+
"name": "building-channel"
12+
},
13+
"spec": {
14+
"description": "Why is it called a 'building' if it's already built?",
15+
"name": "building-channel",
16+
"private": true,
17+
"topic": "Buildings",
18+
"users": [
19+
20+
]
21+
}
22+
}
23+
]
24+
capabilities: Basic Install
25+
operators.operatorframework.io/builder: operator-sdk-v1.0.0
26+
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
27+
name: slack-operator.v0.0.2
28+
namespace: placeholder
29+
spec:
30+
apiservicedefinitions: {}
31+
customresourcedefinitions:
32+
owned:
33+
- description: Channel is the Schema for the channels API
34+
displayName: Channel
35+
kind: Channel
36+
name: channels.slack.stakater.com
37+
version: v1alpha1
38+
description: Kubernetes operator for Slack
39+
displayName: slack-operator
40+
icon:
41+
- base64data: ""
42+
mediatype: ""
43+
install:
44+
spec:
45+
clusterPermissions:
46+
- rules:
47+
- apiGroups:
48+
- slack.stakater.com
49+
resources:
50+
- channels
51+
verbs:
52+
- create
53+
- delete
54+
- get
55+
- list
56+
- patch
57+
- update
58+
- watch
59+
- apiGroups:
60+
- slack.stakater.com
61+
resources:
62+
- channels/status
63+
verbs:
64+
- get
65+
- patch
66+
- update
67+
- apiGroups:
68+
- authentication.k8s.io
69+
resources:
70+
- tokenreviews
71+
verbs:
72+
- create
73+
- apiGroups:
74+
- authorization.k8s.io
75+
resources:
76+
- subjectaccessreviews
77+
verbs:
78+
- create
79+
serviceAccountName: default
80+
deployments:
81+
- name: slack-operator-controller-manager
82+
spec:
83+
replicas: 1
84+
selector:
85+
matchLabels:
86+
control-plane: controller-manager
87+
strategy: {}
88+
template:
89+
metadata:
90+
labels:
91+
control-plane: controller-manager
92+
spec:
93+
containers:
94+
- args:
95+
- --secure-listen-address=0.0.0.0:8443
96+
- --upstream=http://127.0.0.1:8080/
97+
- --logtostderr=true
98+
- --v=10
99+
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
100+
name: kube-rbac-proxy
101+
ports:
102+
- containerPort: 8443
103+
name: https
104+
resources: {}
105+
- args:
106+
- --metrics-addr=127.0.0.1:8080
107+
- --enable-leader-election
108+
command:
109+
- /manager
110+
image: controller:latest
111+
name: manager
112+
resources:
113+
limits:
114+
cpu: 100m
115+
memory: 30Mi
116+
requests:
117+
cpu: 100m
118+
memory: 20Mi
119+
terminationGracePeriodSeconds: 10
120+
permissions:
121+
- rules:
122+
- apiGroups:
123+
- ""
124+
resources:
125+
- configmaps
126+
verbs:
127+
- get
128+
- list
129+
- watch
130+
- create
131+
- update
132+
- patch
133+
- delete
134+
- apiGroups:
135+
- ""
136+
resources:
137+
- configmaps/status
138+
verbs:
139+
- get
140+
- update
141+
- patch
142+
- apiGroups:
143+
- ""
144+
resources:
145+
- events
146+
verbs:
147+
- create
148+
- patch
149+
serviceAccountName: default
150+
strategy: deployment
151+
installModes:
152+
- supported: true
153+
type: OwnNamespace
154+
- supported: true
155+
type: SingleNamespace
156+
- supported: false
157+
type: MultiNamespace
158+
- supported: true
159+
type: AllNamespaces
160+
keywords:
161+
- operator
162+
- slack
163+
- kubernetes
164+
- channel
165+
- stakater
166+
links:
167+
- name: Slack Operator
168+
url: https://slack-operator.domain
169+
maturity: alpha
170+
provider:
171+
name: stakater
172+
url: https://stakater.com
173+
version: 0.0.2
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.3.0
6+
creationTimestamp: null
7+
name: channels.slack.stakater.com
8+
spec:
9+
group: slack.stakater.com
10+
names:
11+
kind: Channel
12+
listKind: ChannelList
13+
plural: channels
14+
singular: channel
15+
scope: Namespaced
16+
subresources:
17+
status: {}
18+
validation:
19+
openAPIV3Schema:
20+
description: Channel is the Schema for the channels API
21+
properties:
22+
apiVersion:
23+
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'
24+
type: string
25+
kind:
26+
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'
27+
type: string
28+
metadata:
29+
type: object
30+
spec:
31+
description: ChannelSpec defines the desired state of Channel
32+
properties:
33+
description:
34+
description: Description of the channel
35+
type: string
36+
name:
37+
description: Name of the slack channel
38+
type: string
39+
private:
40+
description: Make the channel private or public
41+
type: boolean
42+
topic:
43+
description: Topic of the channel
44+
type: string
45+
users:
46+
description: List of user IDs of the users to invite
47+
items:
48+
type: string
49+
type: array
50+
required:
51+
- name
52+
type: object
53+
status:
54+
description: ChannelStatus defines the observed state of Channel
55+
properties:
56+
conditions:
57+
description: Status conditions
58+
items:
59+
description: "Condition represents an observation of an object's state. Conditions are an extension mechanism intended to be used when the details of an observation are not a priori known or would not apply to all instances of a given Kind. \n Conditions should be added to explicitly convey properties that users and components care about rather than requiring those properties to be inferred from other observations. Once defined, the meaning of a Condition can not be changed arbitrarily - it becomes part of the API, and has the same backwards- and forwards-compatibility concerns of any other part of the API."
60+
properties:
61+
lastTransitionTime:
62+
format: date-time
63+
type: string
64+
message:
65+
type: string
66+
reason:
67+
description: ConditionReason is intended to be a one-word, CamelCase representation of the category of cause of the current status. It is intended to be used in concise output, such as one-line kubectl get output, and in summarizing occurrences of causes.
68+
type: string
69+
status:
70+
type: string
71+
type:
72+
description: "ConditionType is the type of the condition and is typically a CamelCased word or short phrase. \n Condition types should indicate state in the \"abnormal-true\" polarity. For example, if the condition indicates when a policy is invalid, the \"is valid\" case is probably the norm, so the condition should be called \"Invalid\"."
73+
type: string
74+
required:
75+
- status
76+
- type
77+
type: object
78+
type: array
79+
id:
80+
description: ID of the slack channel
81+
type: string
82+
required:
83+
- id
84+
type: object
85+
type: object
86+
version: v1alpha1
87+
versions:
88+
- name: v1alpha1
89+
served: true
90+
storage: true
91+
status:
92+
acceptedNames:
93+
kind: ""
94+
plural: ""
95+
conditions: []
96+
storedVersions: []

0 commit comments

Comments
 (0)