Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of [NET-9839] fix: add shared version submodule (#4091) into release/1.1.x #4098

Conversation

zalimeni
Copy link
Member

@zalimeni zalimeni commented Jun 7, 2024

Manual backport of #4091 to release/1.1.x.

Note that this also includes the original fix to consul-cni versioning from #3829:

❯ go run . -version
CNI consul-cni plugin v1.1.14-dev
CNI protocol versions supported: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 1.0.0

This version does not support FIPS, but because the new version/* files were considered moves by git, the backport is relatively clean 🎉

* fix: add shared version submodule

Introduce a new submodule for sharing versioning code across the
binary-producing submodules in `consul-k8s` repo.

This is both an improvement in terms of consolidation, as well as a fix
for incorrect `control-plane` submodule pinning in the
`control-plane/cni` submodule that led to incorrect dev versions being
used in 1.4.2 and 1.4.3 (the first releases that included a valid
version of `control-plane/cni`. See #4054 comments for more context.

* build: fix non-dev prepare script chart version setting
@zalimeni zalimeni requested a review from DanStough June 7, 2024 20:44
@zalimeni zalimeni enabled auto-merge (squash) June 7, 2024 20:46
@zalimeni zalimeni added the pr/no-backport signals that a PR will not contain a backport label label Jun 7, 2024
@zalimeni zalimeni merged commit b1426e7 into release/1.1.x Jun 7, 2024
25 of 48 checks passed
@zalimeni zalimeni deleted the backport/zalimeni/shared-version-cli-control-plane-cni--1.1.x branch June 7, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-backport signals that a PR will not contain a backport label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants