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:
@@ -175,10 +175,15 @@ volumes:
|
|||||||
- name: kafka
|
- name: kafka
|
||||||
emptyDir:
|
emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
|
- name: log
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
# volumeMounts: will be mounted in container
|
# volumeMounts: will be mounted in container
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/kafka
|
- mountPath: /etc/kafka
|
||||||
name: kafka
|
name: kafka
|
||||||
|
- mountPath: /var/log/kafka
|
||||||
|
name: log
|
||||||
# podSpec: will be added at the bottom of the pod template in the deployment
|
# podSpec: will be added at the bottom of the pod template in the deployment
|
||||||
podSpec: {}
|
podSpec: {}
|
||||||
# containerSpec: will be added at the bottom of the container specification in the pod template
|
# containerSpec: will be added at the bottom of the container specification in the pod template
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kafka
|
name: kafka
|
||||||
description: Simple Kafka chart to get started
|
description: Simple Kafka chart to get started
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Jim Martens
|
- name: Jim Martens
|
||||||
url: https://2martens.de
|
url: https://2martens.de
|
||||||
@@ -15,8 +15,8 @@ dependencies:
|
|||||||
repository: file://../template
|
repository: file://../template
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Use restrictive security context by default
|
description: Mount writable volume for /var/log/kafka
|
||||||
artifacthub.io/signKey: |
|
artifacthub.io/signKey: |
|
||||||
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
||||||
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ volumes:
|
|||||||
- name: kafka
|
- name: kafka
|
||||||
emptyDir:
|
emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
|
- name: log
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/kafka
|
- mountPath: /etc/kafka
|
||||||
name: kafka
|
name: kafka
|
||||||
|
- mountPath: /var/log/kafka
|
||||||
|
name: log
|
||||||
|
|||||||
@@ -167,10 +167,15 @@ volumes:
|
|||||||
- name: kafka
|
- name: kafka
|
||||||
emptyDir:
|
emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
|
- name: log
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
# volumeMounts: will be mounted in container
|
# volumeMounts: will be mounted in container
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/kafka
|
- mountPath: /etc/kafka
|
||||||
name: kafka
|
name: kafka
|
||||||
|
- mountPath: /var/log/kafka
|
||||||
|
name: log
|
||||||
# podSpec: will be added at the bottom of the pod template in the deployment
|
# podSpec: will be added at the bottom of the pod template in the deployment
|
||||||
podSpec: {}
|
podSpec: {}
|
||||||
# containerSpec: will be added at the bottom of the container specification in the pod template
|
# containerSpec: will be added at the bottom of the container specification in the pod template
|
||||||
|
|||||||
Reference in New Issue
Block a user