Skip to content

Commit

Permalink
Update to ACK runtime v0.36.0, code-generator v0.36.0 (#123)
Browse files Browse the repository at this point in the history
### Update to ACK runtime `v0.36.0`, code-generator `v0.36.0`

----------

* ACK code-generator `v0.36.0` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.36.0)
* ACK runtime `v0.36.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.36.0)

----------

NOTE:
This PR increments the release version of service controller from `v1.4.3` to `v1.4.4`

Once this PR is merged, release `v1.4.4` will be automatically created for `eks-controller`

**Please close this PR, if you do not want the new patch release for `eks-controller`**

----------

#### stdout for `make build-controller`:

```
building ack-generate ... ok.
==== building eks-controller ====
Copying common custom resource definitions into eks
Building Kubernetes API objects for eks
Generating deepcopy code for eks
Generating custom resource definitions for eks
Building service controller for eks
Generating RBAC manifests for eks
Running gofmt against generated code for eks
Updating additional GitHub repository maintenance files
==== building eks-controller release artifacts ====
Building release artifacts for eks-v1.4.4
Generating common custom resource definitions
Generating custom resource definitions for eks
Generating RBAC manifests for eks
```

----------

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • Loading branch information
ack-bot committed Aug 7, 2024
1 parent 561399e commit 1afb0be
Show file tree
Hide file tree
Showing 31 changed files with 196 additions and 53 deletions.
6 changes: 3 additions & 3 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ack_generate_info:
build_date: "2024-07-19T23:06:51Z"
build_hash: f0a0f42d507c550c2b063a192b3b43e4522bdd9c
build_date: "2024-08-06T02:47:26Z"
build_hash: 587b90dc860e91ee9a763e9e3bc4d3f1b2fbddb7
go_version: go1.22.5
version: v0.35.0
version: v0.36.0
api_directory_checksum: 626700f8799840e0470b1ff7ef3dbb32665b9f9d
api_version: v1alpha1
aws_sdk_go_version: v1.49.13
Expand Down
2 changes: 1 addition & 1 deletion config/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: controller
newName: public.ecr.aws/aws-controllers-k8s/eks-controller
newTag: 1.4.3
newTag: 1.4.4
2 changes: 2 additions & 0 deletions config/crd/bases/eks.services.k8s.aws_accessentries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
kubernetesGroups:
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/eks.services.k8s.aws_addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
configurationValues:
Expand Down Expand Up @@ -162,6 +164,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
tags:
Expand Down
8 changes: 8 additions & 0 deletions config/crd/bases/eks.services.k8s.aws_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: object
Expand Down Expand Up @@ -209,6 +211,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand All @@ -231,6 +235,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand All @@ -256,6 +262,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
tags:
Expand Down
6 changes: 6 additions & 0 deletions config/crd/bases/eks.services.k8s.aws_fargateprofiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
name:
Expand Down Expand Up @@ -108,6 +110,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
selectors:
Expand Down Expand Up @@ -141,6 +145,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
oidc:
Expand Down
8 changes: 8 additions & 0 deletions config/crd/bases/eks.services.k8s.aws_nodegroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
diskSize:
Expand Down Expand Up @@ -191,6 +193,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
releaseVersion:
Expand Down Expand Up @@ -237,6 +241,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -274,6 +280,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
namespace:
Expand Down Expand Up @@ -118,6 +120,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
serviceAccount:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/aws-controllers-k8s/ec2-controller v1.1.0
github.com/aws-controllers-k8s/iam-controller v1.3.1
github.com/aws-controllers-k8s/kms-controller v1.0.9
github.com/aws-controllers-k8s/runtime v0.35.0
github.com/aws-controllers-k8s/runtime v0.36.0
github.com/aws/aws-sdk-go v1.49.13
github.com/go-logr/logr v1.4.1
github.com/spf13/pflag v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ github.com/aws-controllers-k8s/iam-controller v1.3.1 h1:/3yH3tAtSVAAt2ulIqsmutjW
github.com/aws-controllers-k8s/iam-controller v1.3.1/go.mod h1:7nZzMtEN8xEL5fYhL9FKkBhqoP4QMmMp5x5dXDGwfYM=
github.com/aws-controllers-k8s/kms-controller v1.0.9 h1:GZHSnuZBoWp9r6RaJ3siyDn5BRhDuaZJXtdBKeAiLSw=
github.com/aws-controllers-k8s/kms-controller v1.0.9/go.mod h1:Pnz0d5sly7dUgmYMDJWSRIKASOujJFi/b8N2q1qCLqU=
github.com/aws-controllers-k8s/runtime v0.35.0 h1:kLRLFOAcaFJRv/aEiWtb0qhlxFpwvmx6shCWNc1Tuas=
github.com/aws-controllers-k8s/runtime v0.35.0/go.mod h1:gI2pWb20UGLP2SnHf1a1VzTd7iVVy+/I9VAzT0Y+Dew=
github.com/aws-controllers-k8s/runtime v0.36.0 h1:XEMVGfUwsT9QMShihuCLHlape+daJWyYtXj45s/iJiU=
github.com/aws-controllers-k8s/runtime v0.36.0/go.mod h1:gI2pWb20UGLP2SnHf1a1VzTd7iVVy+/I9VAzT0Y+Dew=
github.com/aws/aws-sdk-go v1.49.13 h1:f4mGztsgnx2dR9r8FQYa9YW/RsKb+N7bgef4UGrOW1Y=
github.com/aws/aws-sdk-go v1.49.13/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: eks-chart
description: A Helm chart for the ACK service controller for Amazon Elastic Kubernetes Service (EKS)
version: 1.4.3
appVersion: 1.4.3
version: 1.4.4
appVersion: 1.4.4
home: https://github.com/aws-controllers-k8s/eks-controller
icon: https://github.com/raw/aws/eks-charts/master/docs/logo/aws.png
sources:
Expand Down
2 changes: 2 additions & 0 deletions helm/crds/eks.services.k8s.aws_accessentries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
kubernetesGroups:
Expand Down
4 changes: 4 additions & 0 deletions helm/crds/eks.services.k8s.aws_addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
configurationValues:
Expand Down Expand Up @@ -162,6 +164,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
tags:
Expand Down
8 changes: 8 additions & 0 deletions helm/crds/eks.services.k8s.aws_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: object
Expand Down Expand Up @@ -209,6 +211,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand All @@ -231,6 +235,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand All @@ -256,6 +262,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
tags:
Expand Down
6 changes: 6 additions & 0 deletions helm/crds/eks.services.k8s.aws_fargateprofiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
name:
Expand Down Expand Up @@ -108,6 +110,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
selectors:
Expand Down Expand Up @@ -141,6 +145,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand Down
2 changes: 2 additions & 0 deletions helm/crds/eks.services.k8s.aws_identityproviderconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
oidc:
Expand Down
8 changes: 8 additions & 0 deletions helm/crds/eks.services.k8s.aws_nodegroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
diskSize:
Expand Down Expand Up @@ -191,6 +193,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
releaseVersion:
Expand Down Expand Up @@ -237,6 +241,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -274,6 +280,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
type: array
Expand Down
4 changes: 4 additions & 0 deletions helm/crds/eks.services.k8s.aws_podidentityassociations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
namespace:
Expand Down Expand Up @@ -118,6 +120,8 @@ spec:
properties:
name:
type: string
namespace:
type: string
type: object
type: object
serviceAccount:
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ .Chart.Name }} has been installed.
This chart deploys "public.ecr.aws/aws-controllers-k8s/eks-controller:1.4.3".
This chart deploys "public.ecr.aws/aws-controllers-k8s/eks-controller:1.4.4".

Check its status by running:
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"
Expand Down
11 changes: 10 additions & 1 deletion helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,13 @@ rules:
- get
- patch
- update
{{- end }}
{{- end }}

{{/* Convert k/v map to string like: "key1=value1,key2=value2,..." */}}
{{- define "ack-eks-controller.feature-gates" -}}
{{- $list := list -}}
{{- range $k, $v := .Values.featureGates -}}
{{- $list = append $list (printf "%s=%s" $k ( $v | toString)) -}}
{{- end -}}
{{ join "," $list }}
{{- end -}}
8 changes: 8 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ spec:
{{- range $key, $value := .Values.reconcile.resourceMaxConcurrentSyncs }}
- --reconcile-resource-max-concurrent-syncs
- "$(RECONCILE_RESOURCE_MAX_CONCURRENT_SYNCS_{{ $key | upper }})"
{{- end }}
{{- if .Values.featureGates}}
- --feature-gates
- "$(FEATURE_GATES)"
{{- end }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down Expand Up @@ -122,6 +126,10 @@ spec:
{{- range $key, $value := .Values.reconcile.resourceMaxConcurrentSyncs }}
- name: RECONCILE_RESOURCE_MAX_CONCURRENT_SYNCS_{{ $key | upper }}
value: {{ $key }}={{ $value }}
{{- end }}
{{- if .Values.featureGates}}
- name: FEATURE_GATES
value: {{ include "ack-eks-controller.feature-gates" . }}
{{- end }}
{{- if .Values.aws.credentials.secretName }}
- name: AWS_SHARED_CREDENTIALS_FILE
Expand Down
Loading

0 comments on commit 1afb0be

Please sign in to comment.