fix(kafka): Add writable volume to /var/log/kafka

This commit is contained in:
2024-02-05 08:03:42 +01:00
parent 2ab511ecb3
commit 5258897530
4 changed files with 18 additions and 3 deletions
+5
View File
@@ -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
+3 -3
View File
@@ -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
+5
View File
@@ -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
+5
View File
@@ -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