5 name: {{ .Values.machineName }}-bmc-secret
8 username: {{ .Values.bmcUsername | b64enc }}
9 password: {{ .Values.bmcPassword | b64enc }}
10 {{- if .Values.networks }}
15 name: {{ .Values.machineName }}-network-data
18 networkData: {{ include "machine.networkData" .Values | b64enc }}
20 {{- if .Values.userData }}
25 name: {{ .Values.machineName }}-user-data
28 userData: {{ include "machine.userData" .Values | b64enc }}
31 apiVersion: metal3.io/v1alpha1
34 name: {{ .Values.machineName }}
35 {{- if .Values.machineLabels }}
37 {{- toYaml .Values.machineLabels | nindent 4 }}
41 {{- if .Values.bootMACAddress }}
42 bootMACAddress: {{ .Values.bootMACAddress }}
45 address: {{ .Values.bmcAddress }}
46 credentialsName: {{ .Values.machineName }}-bmc-secret
47 {{- if .Values.networks }}
49 name: {{ .Values.machineName }}-network-data
50 namespace: {{ .Release.Namespace }}
52 {{- if .Values.userData }}
54 name: {{ .Values.machineName }}-user-data
55 namespace: {{ .Release.Namespace }}
59 {{- if .Values.imageName }}
61 url: http://172.22.0.1:6180/images/{{ .Values.imageName }}
62 checksum: http://172.22.0.1:6180/images/{{ .Values.imageName }}.md5sum