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

unconfigured secrets provider crashes k8t #79

Open
AFriemann opened this issue Aug 14, 2020 · 0 comments
Open

unconfigured secrets provider crashes k8t #79

AFriemann opened this issue Aug 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@AFriemann
Copy link
Member

on a fresh environment when running k8t gen without configuring secrets provider this happens:

Traceback (most recent call last):
  File "/nix/store/clp0r685d4ivm5wydqnffzcx68vpvxmc-k8t-0.4.3/bin/.k8t-wrapped", line 9, in <module>
    sys.exit(main())
  File "/nix/store/clp0r685d4ivm5wydqnffzcx68vpvxmc-k8t-0.4.3/lib/python3.7/site-packages/k8t/cli.py", line 284, in main
    root()  # pylint: disable=no-value-for-parameter
  File "/nix/store/02mkfzlja90abihab4fxg2kwz9z8aly7-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/nix/store/02mkfzlja90abihab4fxg2kwz9z8aly7-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/nix/store/02mkfzlja90abihab4fxg2kwz9z8aly7-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/nix/store/02mkfzlja90abihab4fxg2kwz9z8aly7-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/nix/store/02mkfzlja90abihab4fxg2kwz9z8aly7-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/nix/store/02mkfzlja90abihab4fxg2kwz9z8aly7-python3.7-click-7.0/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/nix/store/clp0r685d4ivm5wydqnffzcx68vpvxmc-k8t-0.4.3/lib/python3.7/site-packages/k8t/cli.py", line 32, in new_func
    return ctx.invoke(func, *args, **kwargs)
  File "/nix/store/02mkfzlja90abihab4fxg2kwz9z8aly7-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/nix/store/clp0r685d4ivm5wydqnffzcx68vpvxmc-k8t-0.4.3/lib/python3.7/site-packages/k8t/cli.py", line 129, in cli_gen
    config.CONFIG['secrets']['provider'] = secret_provider
KeyError: 'secrets'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant