Releases: kodermax/kubectl-aws-eks
Releases · kodermax/kubectl-aws-eks
kubectl-aws-eks v1.2.4
🐛 Fix missing find and xargs utilities
What's Changed
- Added
findutilspackage to the Docker image to include essential file system utilities - This resolves the "command not found" errors for
findandxargscommands
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 foundThis happened because the base amazon/aws-cli image doesn't include these utilities by default.
Solution
- Added
findutilspackage 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
findandxargs - ✅ 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
New Features
Multi-Architecture Support
- Enhanced Dockerfile: Added comprehensive support for multi-architecture builds
- Platform Compatibility: Now supports both
amd64andarm64architectures seamlessly - Automatic Detection: Improved
TARGETARCHhandling with fallback toamd64when not specified
Improvements
Dockerfile Enhancements
- Build Arguments: Optimized
TARGETARCHargument handling for better multi-arch builds - Package Management: Maintained
--allowerasingflag to resolve package conflicts (fixes #44) - Security: Enhanced binary verification and permission handling
Entrypoint Script Improvements
- Architecture Detection: Added automatic
TARGETARCHfallback 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
Release Notes
Changes
- Updated
Dockerfile:- Switched to
amazon/aws-cli:latestas the base image. - Added installation of
jq(version configurable via build ARG, default is 1.6). - Added installation of
kubectl(latest stable version) andaws-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.
- Switched to
- Added
entrypoint.shscript and set it as the container ENTRYPOINT. - (Add any other changes from the latest commit here)
Usage
-
Build the image:
docker build -t kubectl-aws-eks . -
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
Bug Fix
Fixed base64 command not found error
- Issue: The container was failing with
/entrypoint.sh: line 12: base64: command not founderror - Root Cause: The base
amazon/aws-cli:latestimage doesn't include thebase64command by default - Solution: Added installation of
coreutilspackage which provides thebase64command
🔧 Changes Made
Dockerfile Updates
- Added
yum update -yto refresh package lists - Added
yum install -y coreutilsto 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
What's Changed
🛠️ Fixed
- Updated kubectl version command syntax in Dockerfile
- Removed deprecated
--shortflag fromkubectl version --clientcommand - 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
1.1.0 Merge branch 'master' of https://github.com/Hacks4Snacks/kubectl-aws-eks
Upgrade aws authenticator
1.0.8 upgrade aws-iam-authenticator
v1.0.7
Add permission