-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow arg/env in userdata for host-containers #1250
Comments
Any word here? |
Thanks for the idea - it would definitely be nice for users, and we plan to work on it, but haven't started yet. |
This might be somewhat heretical, but it would be amazing in my eyes if this supported a variant of the YAML representation of https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#podspec-v1-core. Perhaps a subset, like env, arg, cmd. |
This would make bottlerocket an extremely attractive OS for running Kubernetes control planes. |
This is really needed for bootstrap containers. Currently, it seems like you have to build custom images to do anything useful. Even with user-data support, I'm not aware of any public images that handle user-data at Supporting custom cmd/args would mean avoiding having to maintain that base image since you can just |
What I'd like:
I'd like to be able to more easily parameterize
env
andargs
when running containers (similar to how I might w/ docker/k8s) using bottlerocket user data. I see there is a similar feature here: #1244, but IIUC, it doesn't quite go far enough to cover my use case.[settings.host-containers.my-container]
enabled = true
env.MY_ENV_VAR = "my env var's value"
args = ["list", "of", "strings"]
Any alternatives you've considered:
I might be able to do this with just
but this is beyond my current knowledge of bottlerocket.
The text was updated successfully, but these errors were encountered: