fix(helm): adding kafka-ssl volumes to sink/storage
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
ceefd97587
commit
3c45ec0f70
4 changed files with 40 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: datadir
|
- name: datadir
|
||||||
mountPath: /mnt/efs
|
mountPath: /mnt/efs
|
||||||
|
{{- with .Values.persistence.mounts }}
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- if eq .Values.pvc.name "hostPath" }}
|
{{- if eq .Values.pvc.name "hostPath" }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: datadir
|
- name: datadir
|
||||||
|
|
@ -66,11 +69,17 @@ spec:
|
||||||
# Ensure the file directory is created.
|
# Ensure the file directory is created.
|
||||||
path: {{ .Values.pvc.hostMountPath }}
|
path: {{ .Values.pvc.hostMountPath }}
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
{{- with .Values.persistence.volumes }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: datadir
|
- name: datadir
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.pvc.name }}
|
claimName: {{ .Values.pvc.name }}
|
||||||
|
{{- with .Values.persistence.volumes }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,17 @@ pvc:
|
||||||
name: hostPath
|
name: hostPath
|
||||||
hostMountPath: /openreplay/storage/nfs
|
hostMountPath: /openreplay/storage/nfs
|
||||||
|
|
||||||
|
persistence: {}
|
||||||
|
# # Spec of spec.template.spec.containers[*].volumeMounts
|
||||||
|
# mounts:
|
||||||
|
# - name: kafka-ssl
|
||||||
|
# mountPath: /opt/kafka/ssl
|
||||||
|
# # Spec of spec.template.spec.volumes
|
||||||
|
# volumes:
|
||||||
|
# - name: kafka-ssl
|
||||||
|
# secret:
|
||||||
|
# secretName: kafka-ssl
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
|
||||||
|
|
@ -73,8 +73,14 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: datadir
|
- name: datadir
|
||||||
mountPath: /mnt/efs
|
mountPath: /mnt/efs
|
||||||
|
{{- with .Values.persistence.mounts }}
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- if eq .Values.pvc.name "hostPath" }}
|
{{- if eq .Values.pvc.name "hostPath" }}
|
||||||
volumes:
|
volumes:
|
||||||
|
{{- with .Values.persistence.volumes }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
- name: datadir
|
- name: datadir
|
||||||
hostPath:
|
hostPath:
|
||||||
# Ensure the file directory is created.
|
# Ensure the file directory is created.
|
||||||
|
|
@ -82,6 +88,9 @@ spec:
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
{{- else }}
|
{{- else }}
|
||||||
volumes:
|
volumes:
|
||||||
|
{{- with .Values.persistence.volumes }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
- name: datadir
|
- name: datadir
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.pvc.name }}
|
claimName: {{ .Values.pvc.name }}
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,17 @@ pvc:
|
||||||
name: hostPath
|
name: hostPath
|
||||||
hostMountPath: /openreplay/storage/nfs
|
hostMountPath: /openreplay/storage/nfs
|
||||||
|
|
||||||
|
persistence: {}
|
||||||
|
# # Spec of spec.template.spec.containers[*].volumeMounts
|
||||||
|
# mounts:
|
||||||
|
# - name: kafka-ssl
|
||||||
|
# mountPath: /opt/kafka/ssl
|
||||||
|
# # Spec of spec.template.spec.volumes
|
||||||
|
# volumes:
|
||||||
|
# - name: kafka-ssl
|
||||||
|
# secret:
|
||||||
|
# secretName: kafka-ssl
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue