Skip to content

Commit e76fca8

Browse files
authored
Update ACK runtime to 'v0.13.2' (#13)
### Update ACK runtime to 'v0.13.2' #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building dynamodb-controller ==== Copying common custom resource definitions into dynamodb Building Kubernetes API objects for dynamodb Generating deepcopy code for dynamodb Generating custom resource definitions for dynamodb Building service controller for dynamodb Generating RBAC manifests for dynamodb Running gofmt against generated code for dynamodb ==== building dynamodb-controller release artifacts ==== Building release artifacts for dynamodb-v0.0.5 Generating common custom resource definitions Generating custom resource definitions for dynamodb Generating RBAC manifests for dynamodb ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent d25c74a commit e76fca8

25 files changed

+246
-75
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2021-08-20T14:19:51Z"
3-
build_hash: 821a0daf362fdda8148046310c3eb478b96366ac
4-
go_version: go1.16.4 linux/amd64
5-
version: v0.12.0
2+
build_date: "2021-09-08T23:04:58Z"
3+
build_hash: 394e8294aabf0b221c35f7a5c7bc7e4e43bc6f10
4+
go_version: go1.15 linux/amd64
5+
version: v0.13.2
66
api_directory_checksum: c1d144a18336326f141e97e6800b47f64ed992cc
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.47
@@ -11,4 +11,4 @@ generator_config_info:
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-08-20 14:20:10.007364776 +0000 UTC
14+
timestamp: 2021-09-08 23:05:04.710045865 +0000 UTC

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/aws-controllers-k8s/dynamodb-controller
33
go 1.14
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.12.0
6+
github.com/aws-controllers-k8s/runtime v0.13.2
77
github.com/aws/aws-sdk-go v1.38.47
88
github.com/go-logr/logr v0.1.0
99
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo
2323
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
2424
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
2525
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
26-
github.com/aws-controllers-k8s/runtime v0.12.0 h1:G/lCEozh4Brsv1Ojqyl9D/whpq/YvcFtDZBWXf6YIgI=
27-
github.com/aws-controllers-k8s/runtime v0.12.0/go.mod h1:kG2WM4JAmLgf67cgZV9IZUkY2DsrUzsaNbmhFMfb05c=
26+
github.com/aws-controllers-k8s/runtime v0.13.2 h1:+gVwW4dTndPb4lB0WNLdHeiP7AGBOV+wBHGjpQUOh+w=
27+
github.com/aws-controllers-k8s/runtime v0.13.2/go.mod h1:kG2WM4JAmLgf67cgZV9IZUkY2DsrUzsaNbmhFMfb05c=
2828
github.com/aws/aws-sdk-go v1.37.10/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
2929
github.com/aws/aws-sdk-go v1.38.47 h1:yWOz6zlDCiY3zvebYOZrI1LqCq6zWPWC5Cfe+mBcPos=
3030
github.com/aws/aws-sdk-go v1.38.47/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=

helm/Chart.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
apiVersion: v1
2-
name: ack-dynamodb-controller
3-
description: A Helm chart for the ACK service controller for dynamodb
4-
version: v0.0.4
5-
appVersion: v0.0.4
2+
name: dynamodb-chart
3+
description: A Helm chart for the ACK service controller for Amazon DynamoDB (DynamoDB)
4+
version: v0.0.5
5+
appVersion: v0.0.5
66
home: https://github.com/aws-controllers-k8s/dynamodb-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:
99
- https://github.com/aws-controllers-k8s/dynamodb-controller
1010
maintainers:
1111
- name: ACK Admins
1212
url: https://github.com/orgs/aws-controllers-k8s/teams/ack-admin
13-
- name: dynamodb Admins
13+
- name: DynamoDB Admins
1414
url: https://github.com/orgs/aws-controllers-k8s/teams/dynamodb-maintainer
1515
keywords:
1616
- aws

helm/crds/dynamodb.services.k8s.aws_backups.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.0
7+
controller-gen.kubebuilder.io/version: v0.6.1
88
creationTimestamp: null
99
name: backups.dynamodb.services.k8s.aws
1010
spec:

helm/crds/dynamodb.services.k8s.aws_globaltables.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.0
7+
controller-gen.kubebuilder.io/version: v0.6.1
88
creationTimestamp: null
99
name: globaltables.dynamodb.services.k8s.aws
1010
spec:

helm/crds/dynamodb.services.k8s.aws_tables.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.0
7+
controller-gen.kubebuilder.io/version: v0.6.1
88
creationTimestamp: null
99
name: tables.dynamodb.services.k8s.aws
1010
spec:

helm/crds/services.k8s.aws_adoptedresources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.0
7+
controller-gen.kubebuilder.io/version: v0.6.1
88
creationTimestamp: null
99
name: adoptedresources.services.k8s.aws
1010
spec:

helm/templates/_helpers.tpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ If release name contains chart name it will be used as a full name.
3030
{{- define "service-account.name" -}}
3131
{{ default "default" .Values.serviceAccount.name }}
3232
{{- end -}}
33+
34+
{{- define "watch-namespace" -}}
35+
{{- if eq .Values.installScope "namespace" -}}
36+
{{- .Release.Namespace -}}
37+
{{- end -}}
38+
{{- end -}}

helm/templates/cluster-role-binding.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
apiVersion: rbac.authorization.k8s.io/v1
2+
{{ if eq .Values.installScope "cluster" }}
23
kind: ClusterRoleBinding
34
metadata:
45
name: {{ include "app.fullname" . }}
56
roleRef:
6-
apiGroup: rbac.authorization.k8s.io
77
kind: ClusterRole
8-
name: {{ include "app.name" . }}
8+
{{ else }}
9+
kind: RoleBinding
10+
metadata:
11+
name: {{ include "app.fullname" . }}
12+
namespace: {{ .Release.Namespace }}
13+
roleRef:
14+
kind: Role
15+
{{ end }}
16+
apiGroup: rbac.authorization.k8s.io
17+
name: ack-dynamodb-controller
918
subjects:
1019
- kind: ServiceAccount
1120
name: {{ include "service-account.name" . }}

0 commit comments

Comments
 (0)