Fix error on deallocation and provides configMap on the helm chart

This commit is contained in:
Alexandre Ferreira
2022-11-03 21:39:05 +00:00
committed by Eric Van Hensbergen
parent 5029c6f4b9
commit 054c2534e1
5 changed files with 69 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ spec:
drop: ["ALL"]
resources:
limits:
cpu: 100m
cpu: 200m
memory: 15Mi
requests:
cpu: 10m
@@ -52,6 +52,10 @@ spec:
mountPath: /dev
- name: sys-dir
mountPath: /sys
{{- if .Values.config }}
- name: config
mountPath: /root/config
{{- end }}
volumes:
- name: device-plugin
hostPath:
@@ -62,5 +66,9 @@ spec:
- name: sys-dir
hostPath:
path: /sys
{{- if .Values.config }}
- name: config
configMap:
name: {{ .Values.application.appName }}
{{- end }}
terminationGracePeriodSeconds: 30