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

This commit is contained in:
Jim Martens 2024-02-05 07:45:59 +01:00
parent b49c5ca205
commit 2ab511ecb3
Signed by: 2martens
GPG Key ID: 47393ABD1F96B7C8
4 changed files with 17 additions and 2 deletions

View File

@ -155,10 +155,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

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: zookeeper
description: Simple Zookeeper chart to get started
type: application
version: 0.2.1
version: 0.2.2
maintainers:
- name: Jim Martens
url: https://2martens.de
@ -13,7 +13,7 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: fixed
description: Mount writable volume for /etc/kafka
description: Mount writable volume for /var/log/kafka
artifacthub.io/signKey: |
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc

View File

@ -22,6 +22,11 @@ volumes:
- name: kafka
emptyDir:
medium: Memory
- name: log
emptyDir:
medium: Memory
volumeMounts:
- mountPath: /etc/kafka
name: kafka
- mountPath: /var/log/kafka
name: log

View File

@ -155,10 +155,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