Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
semantic-release-helm
Advanced tools
semantic-release plugin to update version and appVersion in a Helm chart
This is a plugin for semantic-release. It updates version
and appVersion
of a Helm chart's
Chart.yaml.
The version
is increased according to nextRelease.type
, which can be one of
or null if it's not valid.
The appVersion
is set to nextRelease.version
if onlyUpdateVersion
is false or unset.
path
has been renamed to chartPath
to prevent config conflicts.
version 0.1.0
appVersion 1.16.0
patch (1.16.0 -> 1.16.1)
New chart version is 0.1.1
minor (1.16.0 -> 1.17.0)
New chart version is 0.2.0
major (1.16.0 -> 2.0.0)
New chart version is 1.0.0
chartPath (required) - string Chart directory, where the Chart.yaml is located.
registry (optional) - string
URI of a container registry.
onlyUpdateVersion (optional) - boolean (default: false)
Don't change appVersion
if this is true. Useful if your chart is in a different git repo than the application.
crPublish (optional) - boolean
Enable chart-releaser publishing
crConfigPath (optional) - string
Path to .ct.yaml chart-releaser configuration file.
Pass credentials through environment variables accordingly:
export REGISTRY_USERNAME=<USERNAME>
export REGISTRY_PASSWORD=<PASSWORD>
For S3 pass the AWS credentials as environment variables:
export AWS_REGION=<REGION>
export AWS_ACCESS_KEY_ID=<ACCESS_KEY_ID>
export AWS_SECRET_ACCESS_KEY=<SECRET_ACCESS_KEY>
This will update version
and appVersion
in ./chart/Chart.yaml
and push the chart to localhost:5000/repo/chart
. The image will be tagged with the value of version
from
Chart.yaml.
{
"plugins": [
[
"semantic-release-helm",
{
chartPath: './chart',
registry: 'localhost:5000/repo/chart'
}
]
]
}
The helm-s3 plugin adds support for S3. Check the documentation for additional options
This will update version
in ./chart/Chart.yaml
and push the chart to s3://my-s3-bucket/s3-prefix
. The image will be tagged with the value of version
from
Chart.yaml.
{
"plugins": [
[
"semantic-release-helm",
{
chartPath: './chart',
registry: 's3://my-s3-bucket-repo/s3-prefix',
onlyUpdateVersion: true,
}
]
]
}
FAQs
semantic-release plugin to update version and appVersion in a Helm chart
The npm package semantic-release-helm receives a total of 8,991 weekly downloads. As such, semantic-release-helm popularity was classified as popular.
We found that semantic-release-helm demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.