Skip to content

Commit

Permalink
chore: Add re-generation of Helm docs to release
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Kerkhove <[email protected]>
  • Loading branch information
tomkerkhove committed Jun 22, 2023
1 parent 36db5aa commit 0f4d6fa
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
17 changes: 9 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Thanks for helping making KEDA better!
You can easily release a new Helm chart version:

1. Update the version of the Helm chart in `Chart.yaml`.
2. Package the Helm chart
2. Re-generate the Helm chart docs ([learn more](#documentation))
3. Package the Helm chart
- For KEDA:
```shell
$ helm package keda --destination docs
Expand All @@ -23,19 +24,19 @@ You can easily release a new Helm chart version:
$ helm package external-scaler-azure-cosmos-db --destination docs
Successfully packaged chart and saved it to: docs/external-scaler-azure-cosmos-db-0.1.0.tgz
```
3. Re-index the Helm repo to add our new version:
4. Re-index the Helm repo to add our new version:
```shell
$ helm repo index docs --url https://kedacore.github.io/charts
```
4. Update the version in the "Browse all our Helm charts" section of our README.md
5. Commit changes:
5. Update the version in the "Browse all our Helm charts" section of our README.md
6. Commit changes:
```shell
git add .
git commit -sm "Packaged new Helm chart version"
git push origin chart-release
```
6. Create a pull request with our new Helm index.
7. Create a GitHub release for your new Helm chart version by using the following template.
7. Create a pull request with our new Helm index.
8. Create a GitHub release for your new Helm chart version by using the following template.
- Make sure to list the changes to our Helm chart which are tracked in the [KEDA Core vNext](https://github.com/kedacore/charts/milestone/10) milestone
- Instead of listing all KEDA core changes, simply refer to our release notes on the other repo (see template)

Expand Down Expand Up @@ -69,8 +70,8 @@ You can easily release a new Helm chart version:
>
> - {{List removed features}}

8. Create a new milestone called `KEDA Core v{version}`
9. Move the closed items from `KEDA Core vNext` to the new milestone and close it
9. Create a new milestone called `KEDA Core v{version}`
10. Move the closed items from `KEDA Core vNext` to the new milestone and close it

## Developer Certificate of Origin: Signing your work

Expand Down
11 changes: 10 additions & 1 deletion http-add-on/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ their default values.
{{- end }}
{{- end }}


### Operator

| Parameter | Type | Default | Description |
Expand Down Expand Up @@ -121,6 +120,16 @@ their default values.
{{- end }}
{{- end }}

### Webhooks

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
{{- range .Values }}
{{- if hasPrefix "webhooks" .Key }}
| `{{ .Key }}` | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
{{- end }}

Specify each parameter using the `--set key=value[,key=value]` argument to
`helm install`. For example:

Expand Down
3 changes: 3 additions & 0 deletions keda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,11 @@ their default values.
| `webhooks.affinity` | object | `{}` | [Affinity] for pod scheduling for KEDA admission webhooks. Takes precedence over the `affinity` field |
| `webhooks.enabled` | bool | `true` | Enable admission webhooks (this feature option will be removed in v2.12) |
| `webhooks.failurePolicy` | string | `"Ignore"` | [Failure policy](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#failure-policy) to use with KEDA admission webhooks |
| `webhooks.healthProbePort` | int | `8081` | Port number to use for KEDA admission webhooks health probe |
| `webhooks.name` | string | `"keda-admission-webhooks"` | Name of the KEDA admission webhooks |
| `webhooks.port` | string | `""` | Port number to use for KEDA admission webhooks. Default is 9443. |
| `webhooks.replicaCount` | int | `1` | Capability to configure the number of replicas for KEDA admission webhooks |
| `webhooks.useHostNetwork` | bool | `false` | Enable webhook to use host network, this is required on EKS with custom CNI |

Specify each parameter using the `--set key=value[,key=value]` argument to
`helm install`. For example:
Expand Down
1 change: 0 additions & 1 deletion keda/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ their default values.
{{- end }}
{{- end }}


### Operator

| Parameter | Type | Default | Description |
Expand Down

0 comments on commit 0f4d6fa

Please sign in to comment.