Skip to content

Commit 3c92ae8

Browse files
authored
Update to ACK runtime v0.47.0, code-generator v0.47.2 (#84)
### Update to ACK runtime `v0.47.0`, code-generator `v0.47.2` ---------- * ACK code-generator `v0.47.2` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.47.2) * ACK runtime `v0.47.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.47.0) ---------- NOTE: This PR increments the release version of service controller from `v1.1.12` to `v1.1.13` Once this PR is merged, release `v1.1.13` will be automatically created for `sns-controller` **Please close this PR, if you do not want the new patch release for `sns-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building sns-controller ==== Copying common custom resource definitions into sns Building Kubernetes API objects for sns Generating deepcopy code for sns Generating custom resource definitions for sns Building service controller for sns Running GO mod tidy Generating RBAC manifests for sns Running gofmt against generated code for sns Updating additional GitHub repository maintenance files ==== building sns-controller release artifacts ==== Building release artifacts for sns-v1.1.13 Generating common custom resource definitions Generating custom resource definitions for sns Generating RBAC manifests for sns ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 5aa9fa6 commit 3c92ae8

16 files changed

+113
-55
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-05-28T16:27:03Z"
3-
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
2+
build_date: "2025-06-02T19:04:03Z"
3+
build_hash: abd45b45e7726b7893641afaeae805281358e684
44
go_version: go1.24.2
5-
version: v0.47.1
6-
api_directory_checksum: 4c3a3e96fdcd7220a53c81643e6ffe572b04916b
5+
version: v0.47.2
6+
api_directory_checksum: 9ebaca06368781c8d170f167369dbd0f899f1e1d
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/platform_endpoint.go

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: public.ecr.aws/aws-controllers-k8s/sns-controller
9-
newTag: 1.1.12
9+
newTag: 1.1.13

config/crd/bases/sns.services.k8s.aws_platformendpoints.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ spec:
4040
description: PlatformEndpointSpec defines the desired state of PlatformEndpoint.
4141
properties:
4242
customUserData:
43-
description: |-
44-
Arbitrary user data to associate with the endpoint. Amazon SNS does not use
45-
this data. The data must be in UTF-8 format and less than 2KB.
4643
type: string
4744
enabled:
4845
type: string
@@ -52,13 +49,6 @@ spec:
5249
create a an endpoint.
5350
type: string
5451
token:
55-
description: |-
56-
Unique identifier created by the notification service for an app on a device.
57-
The specific name for Token will vary, depending on which notification service
58-
is being used. For example, when using APNS as the notification service,
59-
you need the device token. Alternatively, when using GCM (Firebase Cloud
60-
Messaging) or ADM, the device token equivalent is called the registration
61-
ID.
6252
type: string
6353
required:
6454
- platformApplicationARN

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: sns-chart
33
description: A Helm chart for the ACK service controller for Amazon Simple Notification Service (SNS)
4-
version: 1.1.12
5-
appVersion: 1.1.12
4+
version: 1.1.13
5+
appVersion: 1.1.13
66
home: https://github.com/aws-controllers-k8s/sns-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/sns.services.k8s.aws_platformendpoints.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ spec:
4040
description: PlatformEndpointSpec defines the desired state of PlatformEndpoint.
4141
properties:
4242
customUserData:
43-
description: |-
44-
Arbitrary user data to associate with the endpoint. Amazon SNS does not use
45-
this data. The data must be in UTF-8 format and less than 2KB.
4643
type: string
4744
enabled:
4845
type: string
@@ -52,13 +49,6 @@ spec:
5249
create a an endpoint.
5350
type: string
5451
token:
55-
description: |-
56-
Unique identifier created by the notification service for an app on a device.
57-
The specific name for Token will vary, depending on which notification service
58-
is being used. For example, when using APNS as the notification service,
59-
you need the device token. Alternatively, when using GCM (Firebase Cloud
60-
Messaging) or ADM, the device token equivalent is called the registration
61-
ID.
6252
type: string
6353
required:
6454
- platformApplicationARN

helm/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ .Chart.Name }} has been installed.
2-
This chart deploys "public.ecr.aws/aws-controllers-k8s/sns-controller:1.1.12".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/sns-controller:1.1.13".
33

44
Check its status by running:
55
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"

helm/templates/caches-role-binding.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRoleBinding
33
metadata:
4-
name: ack-namespaces-cache-sns-controller
4+
name: {{ include "ack-sns-controller.app.fullname" . }}-namespace-caches
5+
labels:
6+
app.kubernetes.io/name: {{ include "ack-sns-controller.app.name" . }}
7+
app.kubernetes.io/instance: {{ .Release.Name }}
8+
app.kubernetes.io/managed-by: Helm
9+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
10+
k8s-app: {{ include "ack-sns-controller.app.name" . }}
11+
helm.sh/chart: {{ include "ack-sns-controller.chart.name-version" . }}
512
roleRef:
613
kind: ClusterRole
714
apiGroup: rbac.authorization.k8s.io
8-
name: ack-namespaces-cache-sns-controller
15+
name: {{ include "ack-sns-controller.app.fullname" . }}-namespace-caches
916
subjects:
1017
- kind: ServiceAccount
1118
name: {{ include "ack-sns-controller.service-account.name" . }}
@@ -14,12 +21,19 @@ subjects:
1421
apiVersion: rbac.authorization.k8s.io/v1
1522
kind: RoleBinding
1623
metadata:
17-
name: ack-configmaps-cache-sns-controller
24+
name: {{ include "ack-sns-controller.app.fullname" . }}-configmaps-cache
1825
namespace: {{ .Release.Namespace }}
26+
labels:
27+
app.kubernetes.io/name: {{ include "ack-sns-controller.app.name" . }}
28+
app.kubernetes.io/instance: {{ .Release.Name }}
29+
app.kubernetes.io/managed-by: Helm
30+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
31+
k8s-app: {{ include "ack-sns-controller.app.name" . }}
32+
helm.sh/chart: {{ include "ack-sns-controller.chart.name-version" . }}
1933
roleRef:
2034
kind: Role
2135
apiGroup: rbac.authorization.k8s.io
22-
name: ack-configmaps-cache-sns-controller
36+
name: {{ include "ack-sns-controller.app.fullname" . }}-configmaps-cache
2337
subjects:
2438
- kind: ServiceAccount
2539
name: {{ include "ack-sns-controller.service-account.name" . }}

helm/templates/caches-role.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
name: ack-namespaces-cache-sns-controller
4+
name: {{ include "ack-sns-controller.app.fullname" . }}-namespaces-cache
5+
labels:
6+
app.kubernetes.io/name: {{ include "ack-sns-controller.app.name" . }}
7+
app.kubernetes.io/instance: {{ .Release.Name }}
8+
app.kubernetes.io/managed-by: Helm
9+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
10+
k8s-app: {{ include "ack-sns-controller.app.name" . }}
11+
helm.sh/chart: {{ include "ack-sns-controller.chart.name-version" . }}
512
rules:
613
- apiGroups:
714
- ""
@@ -15,8 +22,15 @@ rules:
1522
apiVersion: rbac.authorization.k8s.io/v1
1623
kind: Role
1724
metadata:
18-
name: ack-configmaps-cache-sns-controller
25+
name: {{ include "ack-sns-controller.app.fullname" . }}-configmaps-cache
1926
namespace: {{ .Release.Namespace }}
27+
labels:
28+
app.kubernetes.io/name: {{ include "ack-sns-controller.app.name" . }}
29+
app.kubernetes.io/instance: {{ .Release.Name }}
30+
app.kubernetes.io/managed-by: Helm
31+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
32+
k8s-app: {{ include "ack-sns-controller.app.name" . }}
33+
helm.sh/chart: {{ include "ack-sns-controller.chart.name-version" . }}
2034
rules:
2135
- apiGroups:
2236
- ""

helm/templates/cluster-role-binding.yaml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRoleBinding
44
metadata:
5-
name: {{ include "ack-sns-controller.app.fullname" . }}
5+
name: {{ include "ack-sns-controller.app.fullname" . }}-rolebinding
6+
labels:
7+
app.kubernetes.io/name: {{ include "ack-sns-controller.app.name" . }}
8+
app.kubernetes.io/instance: {{ .Release.Name }}
9+
app.kubernetes.io/managed-by: Helm
10+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
11+
k8s-app: {{ include "ack-sns-controller.app.name" . }}
12+
helm.sh/chart: {{ include "ack-sns-controller.chart.name-version" . }}
613
roleRef:
714
kind: ClusterRole
815
apiGroup: rbac.authorization.k8s.io
9-
name: ack-sns-controller
16+
name: {{ include "ack-sns-controller.app.fullname" . }}
1017
subjects:
1118
- kind: ServiceAccount
1219
name: {{ include "ack-sns-controller.service-account.name" . }}
@@ -17,17 +24,26 @@ subjects:
1724
{{ $fullname := include "ack-sns-controller.app.fullname" . }}
1825
{{ $releaseNamespace := .Release.Namespace }}
1926
{{ $serviceAccountName := include "ack-sns-controller.service-account.name" . }}
27+
{{ $chartVersion := include "ack-sns-controller.chart.name-version" . }}
28+
{{ $appVersion := .Chart.AppVersion | quote }}
2029
{{ range $namespaces }}
2130
---
2231
apiVersion: rbac.authorization.k8s.io/v1
2332
kind: RoleBinding
2433
metadata:
25-
name: {{ $fullname }}
34+
name: {{ $fullname }}-{{ . }}
2635
namespace: {{ . }}
36+
labels:
37+
app.kubernetes.io/name: {{ $fullname }}
38+
app.kubernetes.io/instance: {{ $.Release.Name }}
39+
app.kubernetes.io/managed-by: Helm
40+
app.kubernetes.io/version: {{ $appVersion }}
41+
k8s-app: {{ $fullname }}
42+
helm.sh/chart: {{ $chartVersion }}
2743
roleRef:
2844
kind: Role
2945
apiGroup: rbac.authorization.k8s.io
30-
name: ack-sns-controller
46+
name: {{ $fullname }}-{{ . }}
3147
subjects:
3248
- kind: ServiceAccount
3349
name: {{ $serviceAccountName }}

0 commit comments

Comments
 (0)