Skip to content

Releases: kodermax/kubectl-aws-eks

kubectl-aws-eks v1.2.4

17 Sep 09:18

Choose a tag to compare

🐛 Fix missing find and xargs utilities

What's Changed

  • Added findutils package to the Docker image to include essential file system utilities
  • This resolves the "command not found" errors for find and xargs commands

Problem

Users were encountering errors when running scripts that use find and xargs commands:

sh: line 1: find: command not found
sh: line 1: xargs: command not found

This happened because the base amazon/aws-cli image doesn't include these utilities by default.

Solution

  • Added findutils package installation in the Dockerfile
  • The package includes find, xargs, locate, and other file system utilities
  • Maintains compatibility with existing workflows

Impact

  • ✅ Fixes deployment scripts that use find and xargs
  • ✅ No breaking changes to existing functionality
  • ✅ Maintains the same image size and performance
  • ✅ Backward compatible with all existing workflows

Usage

No changes required in your workflows. The utilities are now available by default in the container.

- name: Deploy with file operations
  uses: kodermax/kubectl-aws-eks@v1
  env:
    KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
  with:
    args: "apply -f $(find k8s/ -name '*.yaml')"

kubectl-aws-eks v1.2.3

16 Jul 17:09

Choose a tag to compare

New Features

Multi-Architecture Support

  • Enhanced Dockerfile: Added comprehensive support for multi-architecture builds
  • Platform Compatibility: Now supports both amd64 and arm64 architectures seamlessly
  • Automatic Detection: Improved TARGETARCH handling with fallback to amd64 when not specified

Improvements

Dockerfile Enhancements

  • Build Arguments: Optimized TARGETARCH argument handling for better multi-arch builds
  • Package Management: Maintained --allowerasing flag to resolve package conflicts (fixes #44)
  • Security: Enhanced binary verification and permission handling

Entrypoint Script Improvements

  • Architecture Detection: Added automatic TARGETARCH fallback in entrypoint.sh
  • Error Handling: Improved error messages and validation for missing environment variables
  • Version Management: Better handling of kubectl and aws-iam-authenticator versioning
  • Code Organization: Added clear section comments for better maintainability

kubectl-aws-eks v1.2.2

16 Jul 10:43
5ed2677

Choose a tag to compare

Release Notes

Changes

  • Updated Dockerfile:
    • Switched to amazon/aws-cli:latest as the base image.
    • Added installation of jq (version configurable via build ARG, default is 1.6).
    • Added installation of kubectl (latest stable version) and aws-iam-authenticator (version configurable via build ARG, default is 0.6.12).
    • Added version checks for installed tools.
    • Improved security: set executable permissions and clean up dnf cache.
  • Added entrypoint.sh script and set it as the container ENTRYPOINT.
  • (Add any other changes from the latest commit here)

Usage

  1. Build the image:

    docker build -t kubectl-aws-eks .
  2. Run the container:

    docker run --rm kubectl-aws-eks <your_arguments>

Notes

  • All binaries are downloaded from official sources.
  • You can override tool versions using build arguments if needed.

kubectl-aws-eks v1.2.1

14 Jul 14:14

Choose a tag to compare

Bug Fix

Fixed base64 command not found error

  • Issue: The container was failing with /entrypoint.sh: line 12: base64: command not found error
  • Root Cause: The base amazon/aws-cli:latest image doesn't include the base64 command by default
  • Solution: Added installation of coreutils package which provides the base64 command

🔧 Changes Made

Dockerfile Updates

  • Added yum update -y to refresh package lists
  • Added yum install -y coreutils to install the base64 utility
  • Maintained existing functionality while ensuring all required tools are available

📋 Technical Details

The entrypoint.sh script uses base64 -d to decode the KUBE_CONFIG_DATA environment variable into a Kubernetes config file. This fix ensures the required base64 command is available in the container.

kubectl-aws-eks v1.2.0

09 Jul 06:47

Choose a tag to compare

What's Changed

🛠️ Fixed

  • Updated kubectl version command syntax in Dockerfile
  • Removed deprecated --short flag from kubectl version --client command
  • Fixed Docker image build error

🚀 Improved

  • Enhanced compatibility with latest Kubernetes tools
  • Updated dependencies for improved security
  • Improved stability when working with AWS EKS clusters

Summary

This release ensures compatibility with the latest versions of Kubernetes and AWS tools, enhancing reliability and security when managing EKS clusters.


Support of customize the kubectl version

04 May 19:51

Choose a tag to compare

1.1.0

Merge branch 'master' of https://github.com/Hacks4Snacks/kubectl-aws-eks

Upgrade aws authenticator

30 Jul 08:00

Choose a tag to compare

1.0.8

upgrade aws-iam-authenticator

v1.0.7

20 Apr 15:58

Choose a tag to compare

Add permission

v1.0.6

20 Apr 13:59

Choose a tag to compare

Update README

v1.0.3

20 Apr 13:57

Choose a tag to compare

Update action name