Skip to content

Commit

Permalink
update kubectl to v1.28.5 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
githubixx authored Jan 7, 2024
1 parent 49a5bc3 commit 7602887
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 23.0.2+1.28.5

- update kubectl to `v1.28.5`
- Molecule: update tests

## 23.0.1+1.28.3

- update kubectl to `v1.28.3`
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Installs kubectl command line utility used to interact with the Kubernetes API S
Versions
--------

I tag every release and try to stay with [semantic versioning](http://semver.org). If you want to use the role I recommend to checkout the latest tag. The master branch is basically development while the tags mark stable releases. But in general I try to keep master in good shape too. A tag `23.0.1+1.28.3` means this is release `23.0.1` of this role and `kubectl` client binary version is `1.28.3`. If the role itself changes `X.Y.Z` before `+` will increase. If the Kubernetes version changes `X.Y.Z` after `+` will increase. This allows to tag bugfixes and new major versions of the role while it's still developed for a specific Kubernetes release.
I tag every release and try to stay with [semantic versioning](http://semver.org). If you want to use the role I recommend to checkout the latest tag. The master branch is basically development while the tags mark stable releases. But in general I try to keep master in good shape too. A tag `23.0.2+1.28.5` means this is release `23.0.2` of this role and `kubectl` client binary version is `1.28.5`. If the role itself changes `X.Y.Z` before `+` will increase. If the Kubernetes version changes `X.Y.Z` after `+` will increase. This allows to tag bugfixes and new major versions of the role while it's still developed for a specific Kubernetes release.

Changelog
---------
Expand All @@ -18,7 +18,7 @@ Role Variables

```yaml
# "kubectl" version to install
kubectl_version: "1.28.3"
kubectl_version: "1.28.5"

# The default "binary" will download "kubectl" as a binary file. This is
# about 2.5x bigger then the ".tar.gz" file. The tarball needs to be unarchived
Expand All @@ -33,7 +33,7 @@ kubectl_version: "1.28.3"
kubectl_download_filetype: "binary"
#
# SHA512 checksum of the .tar.gz file (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.28.md#client-binaries)
kubectl_checksum_archive: "sha512:0d5e1d09eb0008a67b1d59aa63e8b6e7e7230ba1ab32cdac8a722188d166f5dc9008b595947c42aff8a410596ece0a4346cd19ac9ab3a2913cee0eaab127b238"
kubectl_checksum_archive: "sha512:9cd61a97b37cb27cc565f5a2cebd6086b86148c5759eb0e6a0c03e7be4b701bec407c46a65633c51a00a7aa74733c2fdd082b9da3382d38525e2e5b8dbb11b77"
#
# SHA512 checksum of the binary. There is normally no need to change it.
# Further information:
Expand Down
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# "kubectl" version to install
kubectl_version: "1.28.3"
kubectl_version: "1.28.5"

# The default "binary" will download "kubectl" as a binary file. This is
# about 2.5x bigger then the ".tar.gz" file. The tarball needs to be unarchived
Expand All @@ -15,7 +15,7 @@ kubectl_version: "1.28.3"
kubectl_download_filetype: "binary"
#
# SHA512 checksum of the .tar.gz file (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.28.md#client-binaries)
kubectl_checksum_archive: "sha512:0d5e1d09eb0008a67b1d59aa63e8b6e7e7230ba1ab32cdac8a722188d166f5dc9008b595947c42aff8a410596ece0a4346cd19ac9ab3a2913cee0eaab127b238"
kubectl_checksum_archive: "sha512:9cd61a97b37cb27cc565f5a2cebd6086b86148c5759eb0e6a0c03e7be4b701bec407c46a65633c51a00a7aa74733c2fdd082b9da3382d38525e2e5b8dbb11b77"
#
# SHA512 checksum of the binary. There is normally no need to change it.
# Further information:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
kubectl_checksum_binary: "sha256:0c680c90892c43e5ce708e918821f92445d1d244f9b3d7513023bcae9a6246d1"
kubectl_checksum_binary: "sha256:https://cdn.dl.k8s.io/release/v{{ kubectl_version }}/bin/{{ kubectl_os }}/{{ kubectl_arch }}/kubectl.sha256"

This file was deleted.

2 changes: 1 addition & 1 deletion molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Verify setup
hosts: all
vars:
expected_output: "v1.28.3"
expected_output: "v1.28.5"
tasks:
- name: Execute kubectl version to capture output
ansible.builtin.command: kubectl version --client=true
Expand Down

0 comments on commit 7602887

Please sign in to comment.