From 5258897530d97794e16fe9e5d3f4a59fffdc0ac7 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Mon, 5 Feb 2024 08:03:42 +0100 Subject: [PATCH] fix(kafka): Add writable volume to /var/log/kafka --- argocd/kafka/test/values.yaml | 5 +++++ helm/kafka/Chart.yaml | 6 +++--- helm/kafka/overwrite_values.yaml | 5 +++++ helm/kafka/values.yaml | 5 +++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/argocd/kafka/test/values.yaml b/argocd/kafka/test/values.yaml index 3501a86..7c089db 100644 --- a/argocd/kafka/test/values.yaml +++ b/argocd/kafka/test/values.yaml @@ -175,10 +175,15 @@ volumes: - name: kafka emptyDir: medium: Memory + - name: log + emptyDir: + medium: Memory # volumeMounts: will be mounted in container volumeMounts: - mountPath: /etc/kafka name: kafka + - mountPath: /var/log/kafka + name: log # podSpec: will be added at the bottom of the pod template in the deployment podSpec: {} # containerSpec: will be added at the bottom of the container specification in the pod template diff --git a/helm/kafka/Chart.yaml b/helm/kafka/Chart.yaml index 3f074bd..cf3e203 100644 --- a/helm/kafka/Chart.yaml +++ b/helm/kafka/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kafka description: Simple Kafka chart to get started type: application -version: 0.2.0 +version: 0.2.1 maintainers: - name: Jim Martens url: https://2martens.de @@ -15,8 +15,8 @@ dependencies: repository: file://../template annotations: artifacthub.io/changes: | - - kind: changed - description: Use restrictive security context by default + - kind: fixed + description: Mount writable volume for /var/log/kafka artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/kafka/overwrite_values.yaml b/helm/kafka/overwrite_values.yaml index 81f6984..efa0dab 100644 --- a/helm/kafka/overwrite_values.yaml +++ b/helm/kafka/overwrite_values.yaml @@ -34,6 +34,11 @@ volumes: - name: kafka emptyDir: medium: Memory + - name: log + emptyDir: + medium: Memory volumeMounts: - mountPath: /etc/kafka name: kafka + - mountPath: /var/log/kafka + name: log diff --git a/helm/kafka/values.yaml b/helm/kafka/values.yaml index 0a73842..8cc26b6 100644 --- a/helm/kafka/values.yaml +++ b/helm/kafka/values.yaml @@ -167,10 +167,15 @@ volumes: - name: kafka emptyDir: medium: Memory + - name: log + emptyDir: + medium: Memory # volumeMounts: will be mounted in container volumeMounts: - mountPath: /etc/kafka name: kafka + - mountPath: /var/log/kafka + name: log # podSpec: will be added at the bottom of the pod template in the deployment podSpec: {} # containerSpec: will be added at the bottom of the container specification in the pod template