Skip to main content

This is a one-cli plugin that adds Kubernetes tools alias to the CLI.

Project description

plugin-kube

This is a one-cli plugin that adds Kubernetes tools alias to the CLI.

Build PyPI LICENSE

Configuration

# one.yaml
required_version: ">= 0.7.1"

plugins:
  kube:
    package: one-cli-plugin-kube==0.5.2
    module: 'plugin_kube'
    parameters:
      cluster_name: <redact>
      aws_default_region: <redact>
      aws_assume_role: # Optional: default to false
      kubeconfig: # Optional: Override default kubeconfig path

Usage

one kubectl ...
one helm ...
one kube-bash

Development

Dependencies

  • Python 3

Python Virtual Environment

# Create environment
python3 -m venv env

# To activate the environment
source env/bin/activate

# When you finish you can exit typing
deactivate

Install dependencies

pip3 install --editable .

Author

Managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

one-cli-plugin-kube-0.5.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

one_cli_plugin_kube-0.5.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file one-cli-plugin-kube-0.5.2.tar.gz.

File metadata

  • Download URL: one-cli-plugin-kube-0.5.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for one-cli-plugin-kube-0.5.2.tar.gz
Algorithm Hash digest
SHA256 2afea256d001fb965217eccc3d426decc83b5530549e76399bdf12bf773a63ee
MD5 11e855bdbd4ac49914d34710a5290f4b
BLAKE2b-256 705658d67fba04a3ef3c7a99dd82309c95618239cd9af014fc33b650636e267b

See more details on using hashes here.

File details

Details for the file one_cli_plugin_kube-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: one_cli_plugin_kube-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for one_cli_plugin_kube-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0971ebd4c29088565233a4b75072430d0b4f696adc30d6e24e85d8476cc120ca
MD5 03ceb00d8470549fe93c5a20e279537e
BLAKE2b-256 c524a78158ea90ba2c10889edd410010d25a5a3878e3bdf42316e3c9dae331ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page