Skip to content

Commit f07fd52

Browse files
authored
fix(): mount config dir to support readonlyfilesystem (#87)
Signed-off-by: RichardC <richard1.carre@orange.com>
1 parent 566acb5 commit f07fd52

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

chart/kepler/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ annotations:
2222
url: https://keybase.io/bradmccoydev/pgp_keys.asc
2323
2424
type: application
25-
version: 0.5.17
25+
version: 0.5.18
2626
appVersion: release-0.8.0

chart/kepler/templates/daemonset.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ spec:
9393
mountPath: /sys
9494
- name: proc
9595
mountPath: /proc
96+
- name: config-dir
97+
mountPath: /etc/kepler
9698
{{- if .Values.canMount.usrSrc }}
9799
- name: usr-src
98100
mountPath: /usr/src
@@ -119,6 +121,9 @@ spec:
119121
hostPath:
120122
path: /proc
121123
type: Directory
124+
- name: config-dir
125+
emptyDir:
126+
sizeLimit: 100Ki
122127
{{- if .Values.canMount.usrSrc }}
123128
- name: usr-src
124129
hostPath:

0 commit comments

Comments
 (0)