Skip to content

Commit 3c9ab3f

Browse files
simonkey007ahma
authored andcommitted
Add podLabels value
1 parent 7c93fcc commit 3c9ab3f

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

charts/logging-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v1
22
appVersion: "3.9.1"
33
description: A Helm chart to install Banzai Cloud logging-operator
44
name: logging-operator
5-
version: 3.9.2
5+
version: 3.9.3

charts/logging-operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ The following tables lists the configurable parameters of the logging-operator c
6262
| `resources` | CPU/Memory resource requests/limits | `{}` |
6363
| `tolerations` | Node Tolerations | `[]` |
6464
| `nodeSelector` | Define which Nodes the Pods are scheduled on. | `{}` |
65+
| `podLabels` | Define custom labels for logging-operator pods | `{}` |
6566
| `annotations` | Define annotations for logging-operator pods | `{}` |
6667
| `podSecurityContext` | Pod SecurityContext for Logging operator. [More info](https://kubernetes.io/docs/concepts/policy/security-context/) | `{"runAsNonRoot": true, "runAsUser": 1000, "fsGroup": 2000}` |
6768
| `securityContext` | Container SecurityContext for Logging operator. [More info](https://kubernetes.io/docs/concepts/policy/security-context/) | `{"allowPrivilegeEscalation": false, "readOnlyRootFilesystem": true}` |

charts/logging-operator/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ spec:
1616
labels:
1717
app.kubernetes.io/name: {{ include "logging-operator.name" . }}
1818
app.kubernetes.io/instance: {{ .Release.Name }}
19+
{{- with .Values.podLabels }}
20+
{{ toYaml . | nindent 8 }}
21+
{{- end }}
1922
{{- with .Values.annotations }}
2023
annotations:
2124
{{- toYaml . | nindent 8 }}

charts/logging-operator/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ nameOverride: ""
1414
fullnameOverride: ""
1515
namespaceOverride: ""
1616

17+
## Pod custom labels
18+
##
19+
podLabels: {}
20+
1721
annotations: {}
1822

1923
## Deploy CRDs used by Logging Operator.

0 commit comments

Comments
 (0)