From 43bc34606c4d10df3063f98c282442cdc19bc3bf Mon Sep 17 00:00:00 2001 From: Nicholas Thomson Date: Fri, 3 Feb 2023 14:32:22 -0800 Subject: [PATCH] release artifacts for release `v1.0.0` (#48) Description of changes: Release artifacts for `v1.0.0` 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 | 8 ++++---- config/controller/kustomization.yaml | 2 +- helm/Chart.yaml | 4 ++-- helm/templates/NOTES.txt | 2 +- helm/values.yaml | 2 +- pkg/resource/key/sdk.go | 6 +++--- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apis/v1alpha1/ack-generate-metadata.yaml b/apis/v1alpha1/ack-generate-metadata.yaml index 6b5c5c1..d0ab887 100755 --- a/apis/v1alpha1/ack-generate-metadata.yaml +++ b/apis/v1alpha1/ack-generate-metadata.yaml @@ -1,8 +1,8 @@ ack_generate_info: - build_date: "2023-02-02T18:11:56Z" - build_hash: b55ae8752ece381c383ffe5b388ed2147c6b30d8 - go_version: go1.19 - version: v0.23.1 + build_date: "2023-02-03T20:33:58Z" + build_hash: ef775017fc8021baf85ad3ff2ec115df7a543568 + go_version: go1.19.1 + version: v0.23.1-1-gef77501 api_directory_checksum: 70eb6bda460cfa4eda159f3e887696468dabf7a2 api_version: v1alpha1 aws_sdk_go_version: v1.44.93 diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index 406df6e..3f2a3bf 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/kms-controller - newTag: v0.1.5 + newTag: v1.0.0 diff --git a/helm/Chart.yaml b/helm/Chart.yaml index a4cd7ea..22f7609 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: kms-chart description: A Helm chart for the ACK service controller for AWS Key Management Service (KMS) -version: v0.1.5 -appVersion: v0.1.5 +version: v1.0.0 +appVersion: v1.0.0 home: https://github.com/aws-controllers-k8s/kms-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 1fe91bf..09726e6 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/kms-controller:v0.1.5". +This chart deploys "public.ecr.aws/aws-controllers-k8s/kms-controller:v1.0.0". Check its status by running: kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/helm/values.yaml b/helm/values.yaml index 103bc47..b3467aa 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/kms-controller - tag: v0.1.5 + tag: v1.0.0 pullPolicy: IfNotPresent pullSecrets: [] diff --git a/pkg/resource/key/sdk.go b/pkg/resource/key/sdk.go index a763bd4..7ac8f73 100644 --- a/pkg/resource/key/sdk.go +++ b/pkg/resource/key/sdk.go @@ -694,6 +694,9 @@ func (rm *resourceManager) getImmutableFieldChanges( delta *ackcompare.Delta, ) []string { var fields []string + if delta.DifferentAt("Spec.CustomKeyStoreID") { + fields = append(fields, "CustomKeyStoreID") + } if delta.DifferentAt("Spec.Description") { fields = append(fields, "Description") } @@ -709,9 +712,6 @@ func (rm *resourceManager) getImmutableFieldChanges( if delta.DifferentAt("Spec.Origin") { fields = append(fields, "Origin") } - if delta.DifferentAt("Spec.CustomKeyStoreID") { - fields = append(fields, "CustomKeyStoreID") - } return fields }