Skip to main content

Command-line interface for KubeVoIP Kubernetes resources.

Project description

KubeVoIP CLI

Command-line tools for working with KubeVoIP Kubernetes resources.

The package is published as kubevoip and exposes the kubevoip command:

uvx kubevoip --help
uvx kubevoip api-resources
uvx kubevoip manifest sipuser --name alice --namespace telephony

The CLI discovers KubeVoIP API details from CRDs. By default it fetches the latest published KubeVoIP platform release and caches the CRD schema locally. You can also use a local CRD file or the CRDs installed in a Kubernetes cluster.

Examples

Generate a manifest:

kubevoip manifest sipuser --name alice --namespace telephony

Create a user. Friendly create commands apply by default after a Kubernetes server-side dry-run:

kubevoip user create alice \
  --extension 100 \
  --gateway main \
  --dial-policy internal-external \
  --auth-username alice \
  --caller-id "Alice <100>" \
  --password-secret alice-sip \
  --namespace telephony

Print GitOps-friendly YAML instead:

kubevoip user create alice \
  --extension 100 \
  --gateway main \
  --dial-policy internal-external \
  --auth-username alice \
  --password-secret alice-sip \
  --namespace telephony \
  --dry-run -o yaml

Create a SIP user Secret without putting the value in shell history:

printf '%s' "$SIP_PASSWORD" | kubevoip secret sip-user alice-sip \
  --namespace telephony \
  --from-stdin

Development

uv sync --extra dev
uv run ruff check .
uv run pytest
uv run kubevoip --help

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

kubevoip-0.1.0.tar.gz (73.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kubevoip-0.1.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file kubevoip-0.1.0.tar.gz.

File metadata

  • Download URL: kubevoip-0.1.0.tar.gz
  • Upload date:
  • Size: 73.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kubevoip-0.1.0.tar.gz
Algorithm Hash digest
SHA256 512956787784863924d95eb16b35b6dcc3eacc187f972ee8396194feb3bd7159
MD5 425a7115afe66aaa7b718bacc89b2176
BLAKE2b-256 fc0ba3a71b8447eeae01a0e48c40069d094737b981e02edc06d28c69bfd59bf4

See more details on using hashes here.

File details

Details for the file kubevoip-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kubevoip-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kubevoip-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a3228a3dd41f1954f808a0dc9379a0ed407073a15f7c29ff790e209f4da3297
MD5 a8384faaf266362a95579f016e99266a
BLAKE2b-256 ae68d8ada6c6430a6ae9675cee0dc93a9438ee43527bd82195029114ceb76ba5

See more details on using hashes here.

Supported by

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