Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A plugin to provide different types and configs of Kubernetes clusters that can be used for testing.
A plugin to test helm charts on Kubernetes clusters.
Full documentation (including API) available on https://pytest-helm-charts.readthedocs.io/.
This plugin provides a set of pytest fixtures that allow you to easily write tests for Helm charts and run them on Kubernetes clusters.
It can be also used to test Helm charts deployed using the Open Source Giant Swarm App Platform.
Most important features:
Please check [tool.poetry.dependencies]
list in the pyproject.toml
file.
You can install "pytest-helm-charts" via pip
from PyPI
:
pip install pytest-helm-charts
When you want to run your tests, you invoke pytest
as usual, just configuring
cluster and chart information using environment variables or command line options.
The following options are available as environment variables (start pytest
with -h
to check corresponding command line options):
values.yaml
file used to configure a chart under test
(if a chart is tested)test_extra_info
fixtureCurrently, the only supported cluster type is external
, which means the cluster is not
managed by the test suite. You just point the test suite to a kube.config
file,
which can be used to connect to the Kubernetes API with KUBECONFIG
env variable
option. For creating development time clusters, we recommend using
KinD.
If you use this project to test Helm charts against Giant Swarm App Platform, the existing
cluster must already have the platform components installed. Please refer to and use
the app-test-suite
tool to easily
create KinD
based clusters with all the components already installed.
The easiest way to get started is by checking our examples.
The list of available fixtures can be found by running pytest --fixtures
, but
you can also just check the most important fixtures.
Full API docs are also available.
Contributions are very welcome.
poetry
,
to start developing run poetry install
tox
:
poetry run tox -- --log-cli-level info tests/
master
branchpyproject.toml
and update the project version; edit CHANGELOG.md
; commitgit tag v1.1.1
git push; git push origin v1.1.1
See LICENSE.
See CHANGELOG.md.
If you encounter any problems, please file an issue along with a detailed description.
FAQs
A plugin to provide different types and configs of Kubernetes clusters that can be used for testing.
We found that pytest-helm-charts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.