Skip to content

Commit 09058ac

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

File tree

57 files changed

+514
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+514
-23
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2022-03-16T20:57:08Z"
3-
build_hash: 7052f6808b237f97a2000e4c4f296b9ed2a0d7c0
4-
go_version: go1.17.8
5-
version: v0.17.2
2+
build_date: "2022-03-25T18:32:50Z"
3+
build_hash: c6b852a8017aa73cfc5a882b1ba60c88d820e967
4+
go_version: go1.17.5
5+
version: v0.18.1
66
api_directory_checksum: 246af92291668493e03954b4e4117c21f5b62790
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0

config/controller/deployment.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ spec:
2828
args:
2929
- --aws-region
3030
- "$(AWS_REGION)"
31+
- --aws-endpoint-url
32+
- "$(AWS_ENDPOINT_URL)"
3133
- --enable-development-logging
3234
- "$(ACK_ENABLE_DEVELOPMENT_LOGGING)"
3335
- --log-level
@@ -53,6 +55,18 @@ spec:
5355
valueFrom:
5456
fieldRef:
5557
fieldPath: metadata.namespace
58+
- name: AWS_REGION
59+
value: ""
60+
- name: AWS_ENDPOINT_URL
61+
value: ""
62+
- name: ACK_WATCH_NAMESPACE
63+
value: ""
64+
- name: ACK_ENABLE_DEVELOPMENT_LOGGING
65+
value: "false"
66+
- name: ACK_LOG_LEVEL
67+
value: "info"
68+
- name: ACK_RESOURCE_TAGS
69+
value: "services.k8s.aws/managed=true,services.k8s.aws/created=%UTCNOW%,services.k8s.aws/namespace=%KUBERNETES_NAMESPACE%"
5670
securityContext:
5771
allowPrivilegeEscalation: false
5872
privileged: false

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/elasticache-controller
9-
newTag: v0.0.16
9+
newTag: v0.0.17

config/crd/bases/elasticache.services.k8s.aws_cacheparametergroups.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,13 @@ spec:
113113
description: OwnerAccountID is the AWS Account ID of the account
114114
that owns the backend AWS service API resource.
115115
type: string
116+
region:
117+
description: Region is the AWS region in which the resource exists
118+
or will exist.
119+
type: string
116120
required:
117121
- ownerAccountID
122+
- region
118123
type: object
119124
conditions:
120125
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/elasticache.services.k8s.aws_cachesubnetgroups.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,13 @@ spec:
9898
description: OwnerAccountID is the AWS Account ID of the account
9999
that owns the backend AWS service API resource.
100100
type: string
101+
region:
102+
description: Region is the AWS region in which the resource exists
103+
or will exist.
104+
type: string
101105
required:
102106
- ownerAccountID
107+
- region
103108
type: object
104109
conditions:
105110
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/elasticache.services.k8s.aws_replicationgroups.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,13 @@ spec:
409409
description: OwnerAccountID is the AWS Account ID of the account
410410
that owns the backend AWS service API resource.
411411
type: string
412+
region:
413+
description: Region is the AWS region in which the resource exists
414+
or will exist.
415+
type: string
412416
required:
413417
- ownerAccountID
418+
- region
414419
type: object
415420
allowedScaleDownModifications:
416421
description: A string list, each element of which specifies a cache

config/crd/bases/elasticache.services.k8s.aws_snapshots.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,13 @@ spec:
101101
description: OwnerAccountID is the AWS Account ID of the account
102102
that owns the backend AWS service API resource.
103103
type: string
104+
region:
105+
description: Region is the AWS region in which the resource exists
106+
or will exist.
107+
type: string
104108
required:
105109
- ownerAccountID
110+
- region
106111
type: object
107112
autoMinorVersionUpgrade:
108113
description: This parameter is currently disabled.

config/crd/bases/elasticache.services.k8s.aws_usergroups.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,13 @@ spec:
9292
description: OwnerAccountID is the AWS Account ID of the account
9393
that owns the backend AWS service API resource.
9494
type: string
95+
region:
96+
description: Region is the AWS region in which the resource exists
97+
or will exist.
98+
type: string
9599
required:
96100
- ownerAccountID
101+
- region
97102
type: object
98103
conditions:
99104
description: All CRS managed by ACK have a common `Status.Conditions`

config/crd/bases/elasticache.services.k8s.aws_users.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,13 @@ spec:
120120
description: OwnerAccountID is the AWS Account ID of the account
121121
that owns the backend AWS service API resource.
122122
type: string
123+
region:
124+
description: Region is the AWS region in which the resource exists
125+
or will exist.
126+
type: string
123127
required:
124128
- ownerAccountID
129+
- region
125130
type: object
126131
authentication:
127132
description: Denotes whether the user requires a password to authenticate.

config/crd/common/bases/services.k8s.aws_adoptedresources.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ spec:
5757
type: string
5858
type: object
5959
kubernetes:
60-
description: TargetKubernetesResource provides all the values necessary
61-
to identify a given ACK type and override any metadata values when
62-
creating a resource of that type.
60+
description: ResourceWithMetadata provides the values necessary to
61+
create a Kubernetes resource and override any of its metadata values.
6362
properties:
6463
group:
6564
type: string

0 commit comments

Comments
 (0)