NAME
Kubernetes::REST::CLI::Role::Connection - Shared kubeconfig/auth options for CLI tools
VERSION
version 1.001
DESCRIPTION
Moo role providing --kubeconfig and --context options and a lazy api attribute that builds a Kubernetes::REST instance from the kubeconfig.
Consumed by Kubernetes::REST::CLI and Kubernetes::REST::CLI::Watch.
kubeconfig
Path to kubeconfig file. Defaults to ~/.kube/config.
context
Kubernetes context to use from the kubeconfig. Defaults to the current-context.
Short option: -c
api
Lazy Kubernetes::REST instance built from the kubeconfig.
SEE ALSO
Kubernetes::REST::Kubeconfig - Kubeconfig parser
Kubernetes::REST::CLI - CLI base class
Kubernetes::REST::CLI::Watch - Watch CLI tool
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/pplu/kubernetes-rest/issues.
IRC
Join #kubernetes on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHORS
Torsten Raudssus <torsten@raudssus.de>
Jose Luis Martinez Torres <jlmartin@cpan.org> (JLMARTIN, original author, inactive)
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019 by Jose Luis Martinez.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004