-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
kops toolbox template does not work in isolated environment. #12447
Comments
You can point to a local channel file using |
I tried that first. It seemed like it ignored it. |
Looks like it is in fact ignored in 1.20. default is loaded without checking options in release-1.20 branch, and fixed in master/v1.22.0-alpha.2 and v1.23.0-alpha.1 with commit 69b0117. So I guess this is fixed but not anywhere I can use it. 1.20: kops/cmd/kops/toolbox_template.go Line 168 in 49ceac1
master: kops/cmd/kops/toolbox_template.go Line 178 in 37ac7d3
|
There is also the channel |
@johngmyers which would be great if it was reading the value! lol |
Most likely 1.22 will be the next release so the fastest way to get the bugfix is to wait for that release. |
Fantastic, thanks @hakman! |
/kind bug
We have a completely offline (no internet) environment where I am trying to generate a cluster yaml from a kops go template. It will not work because it wants to download the channels from the internet. Am I missing something? Is there a way to specifiy to ignore channels or use a local copy or other intranet hosted copy?
1. What
kops
version are you running? The commandkops version
, will displaythis information.
1.20.2
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.N/A
3. What cloud provider are you using?
N/A
4. What commands did you run? What is the simplest way to reproduce this issue?
kops toolbox template --values values.yaml --template templates_folder --output output.yaml --fail-on-missing=false
5. What happened after the commands executed?
failed because it could not contact internet to download the channels file
6. What did you expect to happen?
it to work offline as expected and generate my cluster yaml.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
N/A
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
N/A
9. Anything else do we need to know?
We can't upgrade to 1.21.0 if it happens to be fixed in that version due to #12184
The text was updated successfully, but these errors were encountered: