Skip to content

Commit fdd1edb

Browse files
authored
operator ack-opensearchservice-controller (1.0.6)
1 parent 56453e8 commit fdd1edb

8 files changed

+1052
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM scratch
2+
3+
# Core bundle labels.
4+
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
5+
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
6+
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
7+
LABEL operators.operatorframework.io.bundle.package.v1=ack-opensearchservice-controller
8+
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
9+
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
10+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.28.0
11+
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
12+
LABEL operators.operatorframework.io.metrics.project_layout=unknown
13+
14+
# Labels for testing.
15+
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
16+
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
17+
18+
# Copy files to locations specified by labels.
19+
COPY bundle/manifests /manifests/
20+
COPY bundle/metadata /metadata/
21+
COPY bundle/tests/scorecard /tests/scorecard/
Lines changed: 265 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,265 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: ClusterServiceVersion
3+
metadata:
4+
annotations:
5+
alm-examples: |-
6+
[
7+
{
8+
"apiVersion": "opensearchservice.services.k8s.aws/v1alpha1",
9+
"kind": "Domain",
10+
"metadata": {
11+
"name": "example"
12+
},
13+
"spec": {}
14+
}
15+
]
16+
capabilities: Basic Install
17+
categories: Cloud Provider
18+
certified: "false"
19+
containerImage: public.ecr.aws/aws-controllers-k8s/opensearchservice-controller:1.0.6
20+
createdAt: "2025-02-20T19:48:27Z"
21+
description: AWS OpenSearch Service controller is a service controller for managing
22+
OpenSearch Service resources in Kubernetes
23+
operatorframework.io/suggested-namespace: ack-system
24+
operators.operatorframework.io/builder: operator-sdk-v1.28.0
25+
operators.operatorframework.io/project_layout: unknown
26+
repository: https://github.com/aws-controllers-k8s
27+
support: Community
28+
labels:
29+
operatorframework.io/arch.amd64: supported
30+
operatorframework.io/arch.arm64: supported
31+
operatorframework.io/os.linux: supported
32+
name: ack-opensearchservice-controller.v1.0.6
33+
namespace: placeholder
34+
spec:
35+
apiservicedefinitions: {}
36+
customresourcedefinitions:
37+
owned:
38+
- description: Domain represents the state of an AWS opensearchservice Domain
39+
resource.
40+
displayName: Domain
41+
kind: Domain
42+
name: domains.opensearchservice.services.k8s.aws
43+
version: v1alpha1
44+
description: |-
45+
Manage OpenSearch Service resources in AWS from within your Kubernetes cluster.
46+
47+
**About Amazon OpenSearch Service**
48+
49+
Amazon OpenSearch Service (successor to Amazon Elasticsearch Service) is a managed service that makes it easy to deploy, operate, and scale OpenSearch clusters in the AWS Cloud. Amazon OpenSearch Service supports OpenSearch and legacy Elasticsearch OSS. When you create a cluster, you have the option of which search engine to use. OpenSearch Service offers broad compatibility with Elasticsearch OSS 7.10, the final open source version of the software. For information about what changed with the recent service renaming, and the actions you might need to take, see [Amazon OpenSearch Service - Summary of changes](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/rename.html).
50+
51+
**About the AWS Controllers for Kubernetes**
52+
53+
This controller is a component of the [AWS Controller for Kubernetes](https://github.com/aws/aws-controllers-k8s) project. This project is currently in **developer preview**.
54+
55+
**Pre-Installation Steps**
56+
57+
Please follow the following link: [Red Hat OpenShift](https://aws-controllers-k8s.github.io/community/docs/user-docs/openshift/)
58+
displayName: AWS Controllers for Kubernetes - Amazon OpenSearch Service
59+
icon:
60+
- base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluI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JjLTIuNywyLjMtNS4zLDEuMS00LjEtMS45QzI4Mi41LDE1NS43LDI5MS40LDEzMy40LDI4Ny4yLDEyOC4xeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPg==
61+
mediatype: image/svg+xml
62+
install:
63+
spec:
64+
clusterPermissions:
65+
- rules:
66+
- apiGroups:
67+
- ""
68+
resources:
69+
- configmaps
70+
- secrets
71+
verbs:
72+
- get
73+
- list
74+
- patch
75+
- watch
76+
- apiGroups:
77+
- ""
78+
resources:
79+
- namespaces
80+
verbs:
81+
- get
82+
- list
83+
- watch
84+
- apiGroups:
85+
- opensearchservice.services.k8s.aws
86+
resources:
87+
- domains
88+
verbs:
89+
- create
90+
- delete
91+
- get
92+
- list
93+
- patch
94+
- update
95+
- watch
96+
- apiGroups:
97+
- opensearchservice.services.k8s.aws
98+
resources:
99+
- domains/status
100+
verbs:
101+
- get
102+
- patch
103+
- update
104+
- apiGroups:
105+
- services.k8s.aws
106+
resources:
107+
- adoptedresources
108+
- fieldexports
109+
verbs:
110+
- create
111+
- delete
112+
- get
113+
- list
114+
- patch
115+
- update
116+
- watch
117+
- apiGroups:
118+
- services.k8s.aws
119+
resources:
120+
- adoptedresources/status
121+
- fieldexports/status
122+
verbs:
123+
- get
124+
- patch
125+
- update
126+
serviceAccountName: ack-opensearchservice-controller
127+
deployments:
128+
- label:
129+
app.kubernetes.io/name: ack-opensearchservice-controller
130+
app.kubernetes.io/part-of: ack-system
131+
name: ack-opensearchservice-controller
132+
spec:
133+
replicas: 1
134+
selector:
135+
matchLabels:
136+
app.kubernetes.io/name: ack-opensearchservice-controller
137+
strategy: {}
138+
template:
139+
metadata:
140+
labels:
141+
app.kubernetes.io/name: ack-opensearchservice-controller
142+
spec:
143+
containers:
144+
- args:
145+
- --aws-region
146+
- $(AWS_REGION)
147+
- --aws-endpoint-url
148+
- $(AWS_ENDPOINT_URL)
149+
- --enable-development-logging=$(ACK_ENABLE_DEVELOPMENT_LOGGING)
150+
- --log-level
151+
- $(ACK_LOG_LEVEL)
152+
- --resource-tags
153+
- $(ACK_RESOURCE_TAGS)
154+
- --watch-namespace
155+
- $(ACK_WATCH_NAMESPACE)
156+
- --enable-leader-election=$(ENABLE_LEADER_ELECTION)
157+
- --leader-election-namespace
158+
- $(LEADER_ELECTION_NAMESPACE)
159+
- --reconcile-default-max-concurrent-syncs
160+
- $(RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS)
161+
- --feature-gates
162+
- $(FEATURE_GATES)
163+
command:
164+
- ./bin/controller
165+
env:
166+
- name: ACK_SYSTEM_NAMESPACE
167+
valueFrom:
168+
fieldRef:
169+
fieldPath: metadata.namespace
170+
envFrom:
171+
- configMapRef:
172+
name: ack-opensearchservice-user-config
173+
optional: false
174+
- secretRef:
175+
name: ack-opensearchservice-user-secrets
176+
optional: true
177+
image: public.ecr.aws/aws-controllers-k8s/opensearchservice-controller:1.0.6
178+
livenessProbe:
179+
httpGet:
180+
path: /healthz
181+
port: 8081
182+
initialDelaySeconds: 15
183+
periodSeconds: 20
184+
name: controller
185+
ports:
186+
- containerPort: 8080
187+
name: http
188+
readinessProbe:
189+
httpGet:
190+
path: /readyz
191+
port: 8081
192+
initialDelaySeconds: 5
193+
periodSeconds: 10
194+
resources:
195+
limits:
196+
cpu: 100m
197+
memory: 300Mi
198+
requests:
199+
cpu: 100m
200+
memory: 200Mi
201+
securityContext:
202+
allowPrivilegeEscalation: false
203+
capabilities:
204+
drop:
205+
- ALL
206+
privileged: false
207+
runAsNonRoot: true
208+
dnsPolicy: ClusterFirst
209+
securityContext:
210+
seccompProfile:
211+
type: RuntimeDefault
212+
serviceAccountName: ack-opensearchservice-controller
213+
terminationGracePeriodSeconds: 10
214+
permissions:
215+
- rules:
216+
- apiGroups:
217+
- coordination.k8s.io
218+
resources:
219+
- leases
220+
verbs:
221+
- get
222+
- list
223+
- watch
224+
- create
225+
- update
226+
- patch
227+
- delete
228+
- apiGroups:
229+
- ""
230+
resources:
231+
- events
232+
verbs:
233+
- create
234+
- patch
235+
serviceAccountName: ack-opensearchservice-controller
236+
strategy: deployment
237+
installModes:
238+
- supported: true
239+
type: OwnNamespace
240+
- supported: true
241+
type: SingleNamespace
242+
- supported: true
243+
type: MultiNamespace
244+
- supported: true
245+
type: AllNamespaces
246+
keywords:
247+
- opensearchservice
248+
- aws
249+
- amazon
250+
- ack
251+
links:
252+
- name: AWS Controllers for Kubernetes
253+
url: https://github.com/aws-controllers-k8s/community
254+
- name: Documentation
255+
url: https://aws-controllers-k8s.github.io/community/
256+
- name: Amazon OpenSearch Service Developer Resources
257+
url: https://aws.amazon.com/opensearch-service/resources/
258+
maintainers:
259+
260+
name: opensearch service maintainer team
261+
maturity: alpha
262+
provider:
263+
name: Amazon, Inc.
264+
url: https://aws.amazon.com
265+
version: 1.0.6
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
name: ack-opensearchservice-metrics-service
6+
spec:
7+
ports:
8+
- name: metricsport
9+
port: 8080
10+
protocol: TCP
11+
targetPort: http
12+
selector:
13+
app.kubernetes.io/name: ack-opensearchservice-controller
14+
type: NodePort
15+
status:
16+
loadBalancer: {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
creationTimestamp: null
5+
name: ack-opensearchservice-reader
6+
rules:
7+
- apiGroups:
8+
- opensearchservice.services.k8s.aws
9+
resources:
10+
- domains
11+
verbs:
12+
- get
13+
- list
14+
- watch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
creationTimestamp: null
5+
name: ack-opensearchservice-writer
6+
rules:
7+
- apiGroups:
8+
- opensearchservice.services.k8s.aws
9+
resources:
10+
- domains
11+
verbs:
12+
- create
13+
- delete
14+
- get
15+
- list
16+
- patch
17+
- update
18+
- watch
19+
- apiGroups:
20+
- opensearchservice.services.k8s.aws
21+
resources:
22+
- domains
23+
verbs:
24+
- get
25+
- patch
26+
- update

0 commit comments

Comments
 (0)