step-ca-bootstrap: bump step CLI to 0.30.2 and kubectl to 1.31.0#261
Open
BjoernWaechter wants to merge 1 commit into
Open
step-ca-bootstrap: bump step CLI to 0.30.2 and kubectl to 1.31.0#261BjoernWaechter wants to merge 1 commit into
BjoernWaechter wants to merge 1 commit into
Conversation
The bootstrap image's `FROM smallstep/step-cli:0.22.0` line hadn't been
updated since 2022. step-cli v0.22.0 predates several years of features —
most notably the `--remote-management` flag on `step ca init`, which was
introduced (under the original name `--remote-administration`) in
v0.23.0 (smallstep/cli#736ea97e). The image's CI rebuilds on every
tagged release, so the result is a `latest` image that still ships
0.22.0 verbatim.
Bumping the base to the current 0.30.2 release. Also bumping the
kubectl version baked in alongside it from 1.30.0 to 1.31.0 to track
the current minor.
Verified locally:
docker build --platform linux/amd64 -t step-ca-bootstrap:test \
docker/step-ca-bootstrap/
docker run --rm step-ca-bootstrap:test step version
Smallstep CLI/0.30.2 (linux/amd64)
docker run --rm step-ca-bootstrap:test step ca init --help | grep remote
--remote-management
docker run --rm --entrypoint kubectl step-ca-bootstrap:test version --client
Client Version: v1.31.0
fdd47a2 to
6520f80
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bootstrap image's
FROM smallstep/step-cli:0.22.0line hadn't been updated since 2022. step-cli v0.22.0 predates several years of features — most notably the--remote-managementflag onstep ca init, which was introduced (under the original name--remote-administration) in v0.23.0 (smallstep/cli#736ea97e). The image's CI rebuilds on every tagged release, so the result is alatestimage that still ships 0.22.0 verbatim.Bumping the base to the current 0.30.2 release. Also bumping the kubectl version baked in alongside it from 1.30.0 to 1.31.0 to track the current minor.
Verified locally:
docker build --platform linux/amd64 -t step-ca-bootstrap:test
docker/step-ca-bootstrap/
docker run --rm step-ca-bootstrap:test step version
Smallstep CLI/0.30.2 (linux/amd64)
docker run --rm step-ca-bootstrap:test step ca init --help | grep remote
--remote-management
docker run --rm --entrypoint kubectl step-ca-bootstrap:test version --client
Client Version: v1.31.0