Return an error when container runtime and overrideBootstrapCommand are defined together#5365
Conversation
Himangini
left a comment
There was a problem hiding this comment.
Can you add the output of manual test run?
Small nit for the title to go in release notes :
Return an error in case container runtime and overrideBootstrapCommand is defined should be
Return an error when container runtime and overrideBootstrapCommand are defined together
|
Manual run: config: apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: gb-test-cluster-2
region: us-west-2
version: '1.22'
nodeGroups:
- name: managed-ng-1
ami: ami-12345
amiFamily: AmazonLinux2
minSize: 1
maxSize: 4
desiredCapacity: 1
containerRuntime: containerd
overrideBootstrapCommand: |
#!/bin/bash
source /var/lib/cloud/scripts/eksctl/bootstrap.helper.sh
# Note "--node-labels=${NODE_LABELS}" needs the above helper sourced to work, otherwise will have to be defined manually.
/etc/eks/bootstrap.sh test-override-11 --container-runtime containerd --kubelet-extra-args "--node-labels=${NODE_LABELS}"
|
|
This seems to be broken in |
|
Little correction it seems it throws the error when using the |
|
Hello @steffakasid! Yes, please! Thank you! :) |
Description
Closes #5363
Checklist
README.md, or theuserdocsdirectory)area/nodegroup) and kind (e.g.kind/improvement)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯