Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/release-chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release Charts

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"

- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.4.0

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GH_TOKEN }}"
File renamed without changes.
2 changes: 1 addition & 1 deletion chart/Chart.yaml → charts/nodetaint/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name: nodetaint
description: A Helm chart for nodetaint controller
type: application

version: 0.1.0
version: 0.2.0

appVersion: "v0.0.3"
83 changes: 83 additions & 0 deletions charts/nodetaint/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# nodetaint

![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.3](https://img.shields.io/badge/AppVersion-v0.0.3-informational?style=flat-square)

A Helm chart for nodetaint controller

## How to install this chart

Chart can be verified using the following commands:
```console
curl https://helm.kube.jamf.build/helmsigner.gpg -o helmsigner.gpg
helm pull helm-kube/nodetaint --verify --keyring helmsigner.gpg
```

Add helm.kube.jamf.build chart repo:

```console
helm repo add helm-kube https://helm.kube.jamf.build/
```

A simple install with default values:

```console
helm install helm-kube/nodetaint
```

To install the chart with the release name `my-release`:

```console
helm install my-release helm-kube/nodetaint
```

To install with some set values:

```console
helm install my-release helm-kube/nodetaint --set values_key1=value1 --set values_key2=value2
```

To install with custom values file:

```console
helm install my-release helm-kube/nodetaint -f values.yaml
```

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| config.DAEMONSET_ANNOTATION | string | `"nodetaint/crucial"` | |
| config.LOG_LEVEL | string | `"info"` | |
| config.NODE_TAINT | string | `"nodetaint/blocking"` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"quay.io/"` | |
| image.repository | string | `"wish/nodetaint"` | |
| image.tag | string | `"v0.0.3"` | |
| imagePullSecrets | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| podAnnotations | object | `{}` | |
| podDisruptionBudget.maxUnavailable | int | `1` | |
| podSecurityContext | object | `{}` | |
| rbac.create | bool | `true` | |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.port | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| tolerations | list | `[]` | |

## How to build and release this chart

Chart is built and released on each merge to `main` branch.

Release version is stored in `Chart.yaml` and should be bumped with each release

Before pushing your commits, make sure to regenerate docs with:
```console
docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest --template-files=ci/README.md.gotmpl
```
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.podDisruptionBudget }}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "nodetaint.fullname" . }}
Expand Down
File renamed without changes.
File renamed without changes.
58 changes: 58 additions & 0 deletions ci/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{{ template "chart.header" . }}

{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}

{{ template "chart.description" . }}

## How to install this chart

Chart can be verified using the following commands:
```console
curl https://helm.kube.jamf.build/helmsigner.gpg -o helmsigner.gpg
helm pull helm-kube/{{ template "chart.name" . }} --verify --keyring helmsigner.gpg
```

Add helm.kube.jamf.build chart repo:

```console
helm repo add helm-kube https://helm.kube.jamf.build/
```

A simple install with default values:

```console
helm install helm-kube/{{ template "chart.name" . }}
```

To install the chart with the release name `my-release`:

```console
helm install my-release helm-kube/{{ template "chart.name" . }}
```

To install with some set values:

```console
helm install my-release helm-kube/{{ template "chart.name" . }} --set values_key1=value1 --set values_key2=value2
```

To install with custom values file:

```console
helm install my-release helm-kube/{{ template "chart.name" . }} -f values.yaml
```

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}

## How to build and release this chart

Chart is built and released on each merge to `main` branch.

Release version is stored in `Chart.yaml` and should be bumped with each release

Before pushing your commits, make sure to regenerate docs with:
```console
docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest --template-files=ci/README.md.gotmpl
```