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
Update a user's extension without re-entering the rest of the SIPUser spec. The CLI reads the live resource, merges the changed fields, then applies the result:
kubevoip user update alice \
--extension 101 \
--caller-id "Alice <101>" \
--namespace telephony
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kubevoip-0.1.2.tar.gz.
File metadata
- Download URL: kubevoip-0.1.2.tar.gz
- Upload date:
- Size: 86.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
609f526b9f6403a2876283a80583036bbe8fd4edc152db0a66ae5f1b7c729bd7
|
|
| MD5 |
22704e9da91fc8125b332929d21eedd3
|
|
| BLAKE2b-256 |
3f4d9a1376b0459a0ebf850f42383fd033a4f7ef7355cdd32dcdd5822c3bc87c
|
File details
Details for the file kubevoip-0.1.2-py3-none-any.whl.
File metadata
- Download URL: kubevoip-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db8d96944904cec49c2bbd8b4dd21942f9fa44079fe7e74cfe74257d85dd5de4
|
|
| MD5 |
16b2fa5f19cbe88783853528e97eb96d
|
|
| BLAKE2b-256 |
36949eb97fc324eb8404e949e17ffdb15ec10bb704be363c137d52324d9b68f0
|