diff --git a/charts/promtail/Chart.yaml b/charts/promtail/Chart.yaml index b0e2588962..80ad5d9932 100644 --- a/charts/promtail/Chart.yaml +++ b/charts/promtail/Chart.yaml @@ -3,7 +3,7 @@ name: promtail description: Promtail is an agent which ships the contents of local logs to a Loki instance type: application appVersion: 2.6.1 -version: 6.6.2 +version: 6.6.3 home: https://grafana.com/loki sources: - https://github.com/grafana/loki diff --git a/charts/promtail/README.md b/charts/promtail/README.md index 8c44e90f67..382e293d24 100644 --- a/charts/promtail/README.md +++ b/charts/promtail/README.md @@ -1,6 +1,6 @@ # promtail -![Version: 6.6.2](https://img.shields.io/badge/Version-6.6.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.1](https://img.shields.io/badge/AppVersion-2.6.1-informational?style=flat-square) +![Version: 6.6.3](https://img.shields.io/badge/Version-6.6.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.1](https://img.shields.io/badge/AppVersion-2.6.1-informational?style=flat-square) Promtail is an agent which ships the contents of local logs to a Loki instance @@ -127,6 +127,8 @@ The new release which will pick up again from the existing `positions.yaml`. | rbac.pspEnabled | bool | `false` | Specifies whether a PodSecurityPolicy is to be created | | readinessProbe | object | See `values.yaml` | Readiness probe | | resources | object | `{}` | Resource requests and limits | +| secret.annotations | object | `{}` | Annotations for the Secret | +| secret.labels | object | `{}` | Labels for the Secret | | serviceAccount.annotations | object | `{}` | Annotations for the service account | | serviceAccount.create | bool | `true` | Specifies whether a ServiceAccount should be created | | serviceAccount.imagePullSecrets | list | `[]` | Image pull secrets for the service account | diff --git a/charts/promtail/templates/secret.yaml b/charts/promtail/templates/secret.yaml index 84aca312bd..d26e78d2b8 100644 --- a/charts/promtail/templates/secret.yaml +++ b/charts/promtail/templates/secret.yaml @@ -6,6 +6,13 @@ metadata: namespace: {{ .Release.Namespace }} labels: {{- include "promtail.labels" . | nindent 4 }} + {{- with .Values.secret.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.secret.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} stringData: promtail.yaml: | {{- tpl .Values.config.file . | nindent 4 }} diff --git a/charts/promtail/values.yaml b/charts/promtail/values.yaml index f5d549e998..02f1edfa67 100644 --- a/charts/promtail/values.yaml +++ b/charts/promtail/values.yaml @@ -20,6 +20,12 @@ deployment: targetCPUUtilizationPercentage: 80 targetMemoryUtilizationPercentage: +secret: + # -- Labels for the Secret + labels: {} + # -- Annotations for the Secret + annotations: {} + configmap: # -- If enabled, promtail config will be created as a ConfigMap instead of a secret enabled: false