Skip to content

Commit f3ac962

Browse files
authored
operator ack-sns-controller (1.2.2)
1 parent 54ee510 commit f3ac962

11 files changed

+1359
-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-sns-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: 321 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,321 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: ClusterServiceVersion
3+
metadata:
4+
annotations:
5+
alm-examples: |-
6+
[
7+
{
8+
"apiVersion": "sns.services.k8s.aws/v1alpha1",
9+
"kind": "PlatformApplication",
10+
"metadata": {
11+
"name": "example"
12+
},
13+
"spec": {}
14+
},
15+
{
16+
"apiVersion": "sns.services.k8s.aws/v1alpha1",
17+
"kind": "PlatformEndpoint",
18+
"metadata": {
19+
"name": "example"
20+
},
21+
"spec": {}
22+
},
23+
{
24+
"apiVersion": "sns.services.k8s.aws/v1alpha1",
25+
"kind": "Topic",
26+
"metadata": {
27+
"name": "example"
28+
},
29+
"spec": {}
30+
}
31+
]
32+
capabilities: Basic Install
33+
categories: Cloud Provider
34+
certified: "false"
35+
containerImage: public.ecr.aws/aws-controllers-k8s/sns-controller:1.2.2
36+
createdAt: "2025-09-30T21:19:34Z"
37+
description: AWS SNS controller is a service controller for managing SNS resources
38+
in Kubernetes
39+
operatorframework.io/suggested-namespace: ack-system
40+
operators.operatorframework.io/builder: operator-sdk-v1.28.0
41+
operators.operatorframework.io/project_layout: unknown
42+
repository: https://github.com/aws-controllers-k8s
43+
support: Community
44+
labels:
45+
operatorframework.io/arch.amd64: supported
46+
operatorframework.io/arch.arm64: supported
47+
operatorframework.io/os.linux: supported
48+
name: ack-sns-controller.v1.2.2
49+
namespace: placeholder
50+
spec:
51+
apiservicedefinitions: {}
52+
customresourcedefinitions:
53+
owned:
54+
- description: PlatformApplication represents the state of an AWS sns PlatformApplication
55+
resource.
56+
displayName: PlatformApplication
57+
kind: PlatformApplication
58+
name: platformapplications.sns.services.k8s.aws
59+
version: v1alpha1
60+
- description: PlatformEndpoint represents the state of an AWS sns PlatformEndpoint
61+
resource.
62+
displayName: PlatformEndpoint
63+
kind: PlatformEndpoint
64+
name: platformendpoints.sns.services.k8s.aws
65+
version: v1alpha1
66+
- description: Subscription represents the state of an AWS sns Subscription resource.
67+
displayName: Subscription
68+
kind: Subscription
69+
name: subscriptions.sns.services.k8s.aws
70+
version: v1alpha1
71+
- description: Topic represents the state of an AWS sns Topic resource.
72+
displayName: Topic
73+
kind: Topic
74+
name: topics.sns.services.k8s.aws
75+
version: v1alpha1
76+
description: |-
77+
Manage Simple Notification Service (SNS) resources in AWS from within your Kubernetes cluster.
78+
79+
**About Amazon SNS**
80+
81+
Amazon Simple Notification Service (Amazon SNS) is a managed service that provides message delivery from publishers to subscribers (also known as producers and consumers). Publishers communicate asynchronously with subscribers by sending messages to a topic, which is a logical access point and communication channel. Clients can subscribe to the SNS topic and receive published messages using a supported endpoint type, such as Amazon Kinesis Data Firehose, Amazon SQS, AWS Lambda, HTTP, email, mobile push notifications, and mobile text messages (SMS).
82+
83+
**About the AWS Controllers for Kubernetes**
84+
85+
This controller is a component of the [AWS Controller for Kubernetes](https://github.com/aws/aws-controllers-k8s) project.
86+
87+
**Pre-Installation Steps**
88+
89+
Please follow the following link: [Red Hat OpenShift](https://aws-controllers-k8s.github.io/community/docs/user-docs/openshift/)
90+
displayName: AWS Controllers for Kubernetes - Amazon SNS
91+
icon:
92+
- base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzA0IDE4MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzA0IDE4MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMyNTJGM0U7fQoJLnN0MXtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiNGRjk5MDA7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik04Ni40LDY2LjRjMCwzLjcsMC40LDYuNywxLjEsOC45YzAuOCwyLjIsMS44LDQuNiwzLjIsNy4yYzAuNSwwLjgsMC43LDEuNiwwLjcsMi4zYzAsMS0wLjYsMi0xLjksM2wtNi4zLDQuMiAgIGMtMC45LDAuNi0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MDkuNS0yMS4zLTE0OC43LTU2LjdjLTMuMS0yLjgtMC4zLTYuNiwzLjQtNC40ICAgIGM0Mi40LDI0LjYsOTQuNywzOS41LDE0OC44LDM5LjVjMzYuNSwwLDc2LjYtNy42LDExMy41LTIzLjJDMjc0LjIsMTMzLjYsMjc4LjksMTM5LjcsMjczLjUsMTQzLjd6Ii8+CgkJPHBhdGggY2xhc3M9InN0MSIgZD0iTTI4Ny4yLDEyOC4xYy00LjItNS40LTI3LjgtMi42LTM4LjUtMS4zYy0zLjIsMC40LTMuNy0yLjQtMC44LTQuNWMxOC44LTEzLjIsNDkuNy05LjQsNTMuMy01ICAgIGMzLjYsNC41LTEsMzUuNC0xOC42LDUwLjJjLTIuNywyLjMtNS4zLDEuMS00LjEtMS45QzI4Mi41LDE1NS43LDI5MS40LDEzMy40LDI4Ny4yLDEyOC4xeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPg==
93+
mediatype: image/svg+xml
94+
install:
95+
spec:
96+
clusterPermissions:
97+
- rules:
98+
- apiGroups:
99+
- ""
100+
resources:
101+
- configmaps
102+
- secrets
103+
verbs:
104+
- get
105+
- list
106+
- patch
107+
- watch
108+
- apiGroups:
109+
- ""
110+
resources:
111+
- namespaces
112+
verbs:
113+
- get
114+
- list
115+
- watch
116+
- apiGroups:
117+
- iam.services.k8s.aws
118+
resources:
119+
- policies
120+
- policies/status
121+
- roles
122+
- roles/status
123+
verbs:
124+
- get
125+
- list
126+
- apiGroups:
127+
- kms.services.k8s.aws
128+
resources:
129+
- keys
130+
- keys/status
131+
verbs:
132+
- get
133+
- list
134+
- apiGroups:
135+
- services.k8s.aws
136+
resources:
137+
- adoptedresources
138+
- fieldexports
139+
verbs:
140+
- create
141+
- delete
142+
- get
143+
- list
144+
- patch
145+
- update
146+
- watch
147+
- apiGroups:
148+
- services.k8s.aws
149+
resources:
150+
- adoptedresources/status
151+
- fieldexports/status
152+
verbs:
153+
- get
154+
- patch
155+
- update
156+
- apiGroups:
157+
- sns.services.k8s.aws
158+
resources:
159+
- platformapplications
160+
- platformendpoints
161+
- subscriptions
162+
- topics
163+
verbs:
164+
- create
165+
- delete
166+
- get
167+
- list
168+
- patch
169+
- update
170+
- watch
171+
- apiGroups:
172+
- sns.services.k8s.aws
173+
resources:
174+
- platformapplications/status
175+
- platformendpoints/status
176+
- subscriptions/status
177+
- topics/status
178+
verbs:
179+
- get
180+
- patch
181+
- update
182+
serviceAccountName: ack-sns-controller
183+
deployments:
184+
- label:
185+
app.kubernetes.io/name: ack-sns-controller
186+
app.kubernetes.io/part-of: ack-system
187+
name: ack-sns-controller
188+
spec:
189+
replicas: 1
190+
selector:
191+
matchLabels:
192+
app.kubernetes.io/name: ack-sns-controller
193+
strategy: {}
194+
template:
195+
metadata:
196+
labels:
197+
app.kubernetes.io/name: ack-sns-controller
198+
spec:
199+
containers:
200+
- args:
201+
- --aws-region
202+
- $(AWS_REGION)
203+
- --aws-endpoint-url
204+
- $(AWS_ENDPOINT_URL)
205+
- --enable-development-logging=$(ACK_ENABLE_DEVELOPMENT_LOGGING)
206+
- --log-level
207+
- $(ACK_LOG_LEVEL)
208+
- --resource-tags
209+
- $(ACK_RESOURCE_TAGS)
210+
- --watch-namespace
211+
- $(ACK_WATCH_NAMESPACE)
212+
- --enable-leader-election=$(ENABLE_LEADER_ELECTION)
213+
- --leader-election-namespace
214+
- $(LEADER_ELECTION_NAMESPACE)
215+
- --reconcile-default-max-concurrent-syncs
216+
- $(RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS)
217+
- --feature-gates
218+
- $(FEATURE_GATES)
219+
command:
220+
- ./bin/controller
221+
env:
222+
- name: ACK_SYSTEM_NAMESPACE
223+
valueFrom:
224+
fieldRef:
225+
fieldPath: metadata.namespace
226+
envFrom:
227+
- configMapRef:
228+
name: ack-sns-user-config
229+
optional: false
230+
- secretRef:
231+
name: ack-sns-user-secrets
232+
optional: true
233+
image: public.ecr.aws/aws-controllers-k8s/sns-controller:1.2.2
234+
livenessProbe:
235+
httpGet:
236+
path: /healthz
237+
port: 8081
238+
initialDelaySeconds: 15
239+
periodSeconds: 20
240+
name: controller
241+
ports:
242+
- containerPort: 8080
243+
name: http
244+
readinessProbe:
245+
httpGet:
246+
path: /readyz
247+
port: 8081
248+
initialDelaySeconds: 5
249+
periodSeconds: 10
250+
resources:
251+
limits:
252+
cpu: 100m
253+
memory: 300Mi
254+
requests:
255+
cpu: 100m
256+
memory: 200Mi
257+
securityContext:
258+
allowPrivilegeEscalation: false
259+
capabilities:
260+
drop:
261+
- ALL
262+
privileged: false
263+
runAsNonRoot: true
264+
dnsPolicy: ClusterFirst
265+
securityContext:
266+
seccompProfile:
267+
type: RuntimeDefault
268+
serviceAccountName: ack-sns-controller
269+
terminationGracePeriodSeconds: 10
270+
permissions:
271+
- rules:
272+
- apiGroups:
273+
- coordination.k8s.io
274+
resources:
275+
- leases
276+
verbs:
277+
- get
278+
- list
279+
- watch
280+
- create
281+
- update
282+
- patch
283+
- delete
284+
- apiGroups:
285+
- ""
286+
resources:
287+
- events
288+
verbs:
289+
- create
290+
- patch
291+
serviceAccountName: ack-sns-controller
292+
strategy: deployment
293+
installModes:
294+
- supported: true
295+
type: OwnNamespace
296+
- supported: true
297+
type: SingleNamespace
298+
- supported: true
299+
type: MultiNamespace
300+
- supported: true
301+
type: AllNamespaces
302+
keywords:
303+
- sns
304+
- aws
305+
- amazon
306+
- ack
307+
links:
308+
- name: AWS Controllers for Kubernetes
309+
url: https://github.com/aws-controllers-k8s/community
310+
- name: Documentation
311+
url: https://aws-controllers-k8s.github.io/community/
312+
- name: Amazon SNS Developer Resources
313+
url: https://aws.amazon.com/sns/resources/
314+
maintainers:
315+
316+
name: sns maintainer team
317+
maturity: alpha
318+
provider:
319+
name: Amazon, Inc.
320+
url: https://aws.amazon.com
321+
version: 1.2.2
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-sns-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-sns-controller
14+
type: ClusterIP
15+
status:
16+
loadBalancer: {}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
creationTimestamp: null
5+
name: ack-sns-reader
6+
rules:
7+
- apiGroups:
8+
- sns.services.k8s.aws
9+
resources:
10+
- platformapplications
11+
- platformendpoints
12+
- subscriptions
13+
- topics
14+
verbs:
15+
- get
16+
- list
17+
- watch

0 commit comments

Comments
 (0)