From d0b56db82d844ade6226af83b420e45f3101c304 Mon Sep 17 00:00:00 2001 From: AWS Controllers for Kubernetes Bot <82905295+ack-bot@users.noreply.github.com> Date: Tue, 15 Feb 2022 13:31:00 -0800 Subject: [PATCH] Update ACK runtime to `v0.17.0` (#15) ### Update ACK runtime to `v0.17.0` ---------- * ACK code-generator `v0.17.0` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.17.0) * ACK runtime `v0.17.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.17.0) ---------- NOTE: This PR increments the release version of service controller from `v0.0.10` to `v0.0.11` Once this PR is merged, release `v0.0.11` will be automatically created for `sfn-controller` **Please close this PR, if you do not want the new patch release for `sfn-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building sfn-controller ==== Copying common custom resource definitions into sfn Building Kubernetes API objects for sfn Generating deepcopy code for sfn Generating custom resource definitions for sfn Building service controller for sfn Generating RBAC manifests for sfn Running gofmt against generated code for sfn Updating additional GitHub repository maintenance files ==== building sfn-controller release artifacts ==== Building release artifacts for sfn-v0.0.11 Generating common custom resource definitions Generating custom resource definitions for sfn Generating RBAC manifests for sfn ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --- apis/v1alpha1/ack-generate-metadata.yaml | 6 +++--- config/controller/deployment.yaml | 2 +- config/controller/kustomization.yaml | 2 +- go.mod | 2 +- go.sum | 4 ++-- helm/Chart.yaml | 4 ++-- helm/templates/NOTES.txt | 8 ++++---- helm/templates/deployment.yaml | 2 +- helm/values.yaml | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/apis/v1alpha1/ack-generate-metadata.yaml b/apis/v1alpha1/ack-generate-metadata.yaml index b7dcfad..3493bd0 100755 --- a/apis/v1alpha1/ack-generate-metadata.yaml +++ b/apis/v1alpha1/ack-generate-metadata.yaml @@ -1,8 +1,8 @@ ack_generate_info: - build_date: "2022-02-08T20:04:59Z" - build_hash: edec6dad2fbd530d615d01e96f5251a806e1f36d + build_date: "2022-02-15T20:13:32Z" + build_hash: 930850fc31c40fa7d44f2544ce6e676baab05c27 go_version: go1.17.5 - version: v0.16.5 + version: v0.17.0 api_directory_checksum: fb0d67de142257cc8f80703c3f14eabbd87711b7 api_version: v1alpha1 aws_sdk_go_version: v1.42.0 diff --git a/config/controller/deployment.yaml b/config/controller/deployment.yaml index c761ef0..4412c29 100644 --- a/config/controller/deployment.yaml +++ b/config/controller/deployment.yaml @@ -49,7 +49,7 @@ spec: cpu: 100m memory: 200Mi env: - - name: K8S_NAMESPACE + - name: ACK_SYSTEM_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index bd36ef4..4ebb47e 100644 --- a/config/controller/kustomization.yaml +++ b/config/controller/kustomization.yaml @@ -6,4 +6,4 @@ kind: Kustomization images: - name: controller newName: public.ecr.aws/aws-controllers-k8s/sfn-controller - newTag: v0.0.10 + newTag: v0.0.11 diff --git a/go.mod b/go.mod index b06309b..c9a9a59 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/aws-controllers-k8s/sfn-controller go 1.17 require ( - github.com/aws-controllers-k8s/runtime v0.16.5 + github.com/aws-controllers-k8s/runtime v0.17.0 github.com/aws/aws-sdk-go v1.42.0 github.com/go-logr/logr v1.2.0 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index a1b87d1..fa95833 100644 --- a/go.sum +++ b/go.sum @@ -64,8 +64,8 @@ github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hC github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/aws-controllers-k8s/runtime v0.16.5 h1:1eRU1s0DaduaZcktzG+jUNwPYW+ouKGe7ciAeNNW/2g= -github.com/aws-controllers-k8s/runtime v0.16.5/go.mod h1:9c2CL3w0BlVkse+foHlP1SkJRqYWLs9H+4X/z+2kE3w= +github.com/aws-controllers-k8s/runtime v0.17.0 h1:6gIU65BfD9K7cf9jrfs8hVMOWwRMNrmErYC4QsIER0w= +github.com/aws-controllers-k8s/runtime v0.17.0/go.mod h1:9c2CL3w0BlVkse+foHlP1SkJRqYWLs9H+4X/z+2kE3w= github.com/aws/aws-sdk-go v1.42.0 h1:BMZws0t8NAhHFsfnT3B40IwD13jVDG5KerlRksctVIw= github.com/aws/aws-sdk-go v1.42.0/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 06d3415..8fef01c 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: sfn-chart description: A Helm chart for the ACK service controller for AWS Step Functions (Step-Functions) -version: v0.0.10 -appVersion: v0.0.10 +version: v0.0.11 +appVersion: v0.0.11 home: https://github.com/aws-controllers-k8s/sfn-controller icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png sources: diff --git a/helm/templates/NOTES.txt b/helm/templates/NOTES.txt index 096d467..2af2786 100644 --- a/helm/templates/NOTES.txt +++ b/helm/templates/NOTES.txt @@ -1,5 +1,5 @@ {{ .Chart.Name }} has been installed. -This chart deploys "public.ecr.aws/aws-controllers-k8s/sfn-controller:v0.0.10". +This chart deploys "public.ecr.aws/aws-controllers-k8s/sfn-controller:v0.0.11". Check its status by running: kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}" @@ -7,10 +7,10 @@ Check its status by running: You are now able to create AWS Step Functions (Step-Functions) resources! The controller is running in "{{ .Values.installScope }}" mode. -The controller is configured to run in the region: "{{ .Values.aws.region }}" +The controller is configured to manage AWS resources in region: "{{ .Values.aws.region }}" Visit https://aws-controllers-k8s.github.io/community/reference/ for an API reference of all the resources that can be created using this controller. -For more information on the AWS Controller for Kubernetes (ACK) project, visit: -https://aws-controllers-k8s.github.io/community/ \ No newline at end of file +For more information on the AWS Controllers for Kubernetes (ACK) project, visit: +https://aws-controllers-k8s.github.io/community/ diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index b60d924..c7c9d0e 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -57,7 +57,7 @@ spec: resources: {{- toYaml .Values.resources | nindent 10 }} env: - - name: K8S_NAMESPACE + - name: ACK_SYSTEM_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace diff --git a/helm/values.yaml b/helm/values.yaml index 22d51f8..8a8af0b 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/sfn-controller - tag: v0.0.10 + tag: v0.0.11 pullPolicy: IfNotPresent pullSecrets: []