Files
charts/bitnami/pytorch/templates/configmap.yaml
Alejandro Moreno 77db1bb0da Add PyTorch chart
2019-05-14 09:46:42 +02:00

13 lines
416 B
YAML

{{- if .Files.Glob "files/*" }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "pytorch.fullname" . }}-files
labels:
app.kubernetes.io/name: {{ include "pytorch.name" . }}
helm.sh/chart: {{ include "pytorch.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
{{ (.Files.Glob "files/*").AsConfig | indent 2 }}
{{ end }}