summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/cdi/templates/cdi.yaml
blob: 25fee9d5a351c06b3c9c68fd5552d667b2c20478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apiVersion: cdi.kubevirt.io/v1beta1
kind: CDI
metadata:
  name:  {{ include "cdi.fullname" . }}
  labels:
    {{- include "cdi.labels" . | nindent 4 }}
spec:
  {{- with .Values.certConfig }}
  certConfig:
    {{- toYaml . | nindent 4 }}
  {{- end }}
  {{- with .Values.cloneStrategyOverride }}
  cloneStrategyOverride: {{ . }}
  {{- end }}
  {{- with .Values.config }}
  config:
    {{- toYaml . | nindent 4 }}
  {{- end }}
  {{- with .Values.imagePullPolicy }}
  imagePullPolicy: {{ . }}
  {{- end }}
  {{- with .Values.infra }}
  infra:
    {{- toYaml . | nindent 4 }}
  {{- end }}
  {{- with .Values.workload }}
  workload:
    {{- toYaml . | nindent 4 }}
  {{- end }}