Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic update CHANGELOGs and READMEs #1860

Merged
merged 1 commit into from
Dec 11, 2024
Merged
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
8 changes: 8 additions & 0 deletions charts/victoria-metrics-common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Next release

- TODO

## 0.0.34

**Release date:** 2024-12-11

![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

- moved helm chart requirement to a common template

## 0.0.33
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-common/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![Version: 0.0.33](https://img.shields.io/badge/Version-0.0.33-informational?style=flat-square)
![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![Version: 0.0.34](https://img.shields.io/badge/Version-0.0.34-informational?style=flat-square)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/victoriametrics)](https://artifacthub.io/packages/helm/victoriametrics/victoria-metrics-common)

Victoria Metrics Common - contains shared templates for all Victoria Metrics helm charts
Expand Down
41 changes: 41 additions & 0 deletions charts/victoria-metrics-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,36 @@ helm-docs

The markdown generation is entirely go template driven. The tool parses metadata from charts and generates a number of sub-templates that can be referenced in a template file (by default ``README.md.gotmpl``). If no template file is provided, the tool has a default internal template that will generate a reasonably formatted README.

## Disabling automatic ServiceAccount token mount

There are cases when it is required to disable automatic ServiceAccount token mount due to hardening reasons. To disable it, set the following values:
```
serviceAccount:
automountServiceAccountToken: false

extraVolumes:
- name: operator
projected:
sources:
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace
- configMap:
name: kube-root-ca.crt
- serviceAccountToken:
expirationSeconds: 7200
path: token

extraVolumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: operator
```

This configuration disables the automatic ServiceAccount token mount and mounts the token explicitly.

## Parameters

The following tables lists the configurable parameters of the chart and their default values.
Expand Down Expand Up @@ -981,6 +1011,17 @@ view:
</pre>
</td>
<td><p>Service webhook port</p>
</td>
</tr>
<tr>
<td>serviceAccount.automountServiceAccountToken</td>
<td>bool</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">true
</code>
</pre>
</td>
<td><p>Whether to automount the service account token. Note that token needs to be mounted manually if this is disabled.</p>
</td>
</tr>
<tr>
Expand Down
Loading