Skip to content
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

Stateful set pulls kubectl binaries from public urls #25

Closed
danielwegener opened this issue Feb 2, 2021 · 1 comment · Fixed by #27
Closed

Stateful set pulls kubectl binaries from public urls #25

danielwegener opened this issue Feb 2, 2021 · 1 comment · Fixed by #27

Comments

@danielwegener
Copy link

Sorry to bother you again.
The statefulset.yaml setup initContainer tries to pull the kubectl binary from a public Url. This unfortunately fails for our internal (offline) cluster. Do you think it would be legit to make this download optional (enable flag, something like graylog.init.downloadKubectl)? I'd then use an image for the setup container that already contains kubectl.

wget https://storage.googleapis.com/kubernetes-release/release/v1.9.0/bin/linux/amd64/kubectl -O /k8s/kubectl

Thanks!

@danielwegener
Copy link
Author

Suggestion: Also, the URL or at least the release version should be configurable :) (and maybe default to {{Capabilities.Kube.Version}}, so the kubectl version matches the cluster kubernetes version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant