mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
fix(kafka): Add writable volume to /var/log/kafka
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user