From 42e37f73ff18c6c0c8b1dc065580e28b00d86610 Mon Sep 17 00:00:00 2001 From: Marcin Franczyk Date: Fri, 14 Aug 2020 14:24:41 +0200 Subject: [PATCH] fix machine-class resources type Signed-off-by: Marcin Franczyk --- .../machine-class/templates/machine-class.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/charts/internal/machine-class/templates/machine-class.yaml b/charts/internal/machine-class/templates/machine-class.yaml index 1ad669ed..b0fc61cf 100644 --- a/charts/internal/machine-class/templates/machine-class.yaml +++ b/charts/internal/machine-class/templates/machine-class.yaml @@ -16,28 +16,28 @@ apiVersion: machine.sapcloud.io/v1alpha1 kind: MachineClass metadata: name: {{ $machineClass.name }} - namespace: {{ $.Release.Namespace }} + namespace: "{{ $.Release.Namespace }}" providerSpec: {{- if $machineClass.storageClassName }} - storageClassName: {{ $machineClass.storageClassName }} + storageClassName: "{{ $machineClass.storageClassName }}" {{ end }} {{- if $machineClass.pvcSize }} - pvcSize: {{ $machineClass.pvcSize }} + pvcSize: "{{ $machineClass.pvcSize }}" {{ end }} {{- if $machineClass.sourceURL }} - sourceURL: {{ $machineClass.sourceURL }} + sourceURL: "{{ $machineClass.sourceURL }}" {{ end }} {{- if $machineClass.cpus }} - cpus: {{ $machineClass.cpus }} + cpus: "{{ $machineClass.cpus }}" {{ end }} {{- if $machineClass.memory }} - memory: {{ $machineClass.memory }} + memory: "{{ $machineClass.memory }}" {{ end }} {{- if $machineClass.namespace }} - namespace: {{ $machineClass.namespace }} + namespace: "{{ $machineClass.namespace }}" {{ end }} secretRef: - name: {{ $machineClass.name }} - namespace: {{ $.Release.Namespace }} + name: "{{ $machineClass.name }}" + namespace: "{{ $.Release.Namespace }}" provider: kubevirtdriver//127.0.0.1:8080 {{- end }}