Skip to content

Commit e8d6a7a

Browse files
authored
Merge pull request #127 from gonzalesraul/main
Fix event sourcing setup in chart templates
2 parents ac73711 + a6397c2 commit e8d6a7a

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
coreos.Dockerfile
44
*.vscode*
55
.env
6-
core-dump-agent/vendor/**
6+
core-dump-agent/vendor/**
7+
.idea

charts/core-dump-handler/templates/daemonset.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ spec:
1414
containers:
1515
- name: coredump-container
1616
image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
17+
imagePullPolicy: {{ .Values.image.pullPolicy }}
1718
resources:
1819
requests:
1920
memory: {{ .Values.image.request_mem }}
@@ -30,7 +31,7 @@ spec:
3031
- name: core-volume
3132
mountPath: {{ .Values.daemonset.coreDirectory }}
3233
mountPropagation: Bidirectional
33-
{{- if .Values.composer.events }}
34+
{{- if .Values.composer.coreEvents }}
3435
- name: event-volume
3536
mountPath: {{ .Values.daemonset.eventDirectory }}
3637
mountPropagation: Bidirectional
@@ -134,6 +135,11 @@ spec:
134135
- name: core-volume
135136
persistentVolumeClaim:
136137
claimName: core-storage-pvc
138+
{{- if .Values.composer.coreEvents }}
139+
- name: event-volume
140+
persistentVolumeClaim:
141+
claimName: event-storage-pvc
142+
{{- end }}
137143
{{- if .Values.daemonset.mountContainerRuntimeEndpoint }}
138144
- name: container-runtime
139145
hostPath:
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
storageClass: standard
2+
image:
3+
tag: latest
4+
pullPolicy: Never
5+
composer:
6+
logLevel: "Debug"
7+
daemonset:
8+
mountContainerRuntimeEndpoint: true
9+
hostContainerRuntimeEndpoint: "/var/run/cri-dockerd.sock"
10+
crioEndpoint: "unix:///var/run/cri-dockerd.sock"
11+
deployCrioConfig: true
12+
includeCrioExe: true

0 commit comments

Comments
 (0)