28db50e6d6
This commit updates the iso generation process to pull the network data from the ephemeral host network data from the baremetalhost spec of the host with the right label, namely: airshipit.org/ephemeral-node=true It will back into the secret name and namespace specified for the given host and extract the network data from this secret which should be identical to the network configuration the host would receive during normal provisioning. It also pulls the user-data for the iso generation process which is specific to the iso generation process from a secret with a similar special label: airshipit.org/ephemeral-user-data=true Change-Id: Iae6edeb231d9dbae0b316aa73009f145d57ac316
12 lines
408 B
YAML
12 lines
408 B
YAML
# in this document set, we have a secret that contains a label for our
|
|
# iso generation userdata, but it is malformed lacking a user-data key
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
labels:
|
|
airshipit.org/ephemeral-user-data: 'true'
|
|
test: userdatamalformed
|
|
name: userdatamalformed-somesecret
|
|
type: Opaque
|
|
stringData:
|
|
no-user-data: this secret has the right label but is missing the 'user-data' key |