You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates the `build-controller-release.sh` script to check for the latest
Git tag on the target service controller repository before defaulting
the RELEASE_VERSION to `v0.0.0-non-release-version`. This allows
developers to regenerate their service controllers with new ACK runtimes
without overwriting the static manifests' image versions from the latest
published Git tag to `v0.0.0-non-release-version`. For service
controllers that have yet to release any images, the
`v0.0.0-non-release-version` continues to be used.
Before this patch:
```
[jaypipes@thelio code-generator]$ make build-controller SERVICE=rds
building ack-generate ... ok.
==== building rds-controller ====
Copying common custom resource definitions into rds
Building Kubernetes API objects for rds
Generating deepcopy code for rds
Generating custom resource definitions for rds
Building service controller for rds
Generating RBAC manifests for rds
Running gofmt against generated code for rds
==== building rds-controller release artifacts ====
Building release artifacts for rds-v0.0.0-non-release-version
Generating common custom resource definitions
Generating custom resource definitions for rds
Generating RBAC manifests for rds
```
After this patch:
```
[jaypipes@thelio code-generator]$ make build-controller SERVICE=rds
building ack-generate ... ok.
==== building rds-controller ====
Copying common custom resource definitions into rds
Building Kubernetes API objects for rds
Generating deepcopy code for rds
Generating custom resource definitions for rds
Building service controller for rds
Generating RBAC manifests for rds
Running gofmt against generated code for rds
==== building rds-controller release artifacts ====
Building release artifacts for rds-v0.0.4
Generating common custom resource definitions
Generating custom resource definitions for rds
Generating RBAC manifests for rds
```
Note that at this time, the RDS controller's latest published image is
`v0.0.4`.
Issue aws-controllers-k8s/community#912
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
0 commit comments