
This introduces two new interfaces to airshipctl: * Bundle: represents a Kustomize rendered collection of your documents that allows you to iterate over or filter the documents in the bundle. * Document: a thin wrapper around a rendered document. This commit also includes a proposal for a way to represent YAML test fixtures as testdatafs.go and a new testdata subfolder within the document pkg. Change-Id: I4282b27977617552c25c5ae2c3b7da44e67dd014
49 lines
943 B
YAML
49 lines
943 B
YAML
---
|
|
apiVersion: metal3.io/v1alpha1
|
|
kind: BareMetalHost
|
|
metadata:
|
|
annotations:
|
|
airshipit.org/clustertype: ephemeral
|
|
name: master-0
|
|
spec:
|
|
online: true
|
|
bootMACAddress: 00:3b:8b:0c:ec:8b
|
|
bmc:
|
|
address: ipmi://192.168.111.1:6230
|
|
credentialsName: master-0-bmc-secret
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
annotations:
|
|
airshipit.org/clustertype: ephemeral
|
|
name: master-0-bmc-secret
|
|
type: Opaque
|
|
data:
|
|
username: YWRtaW4=
|
|
password: cGFzc3dvcmQ=
|
|
---
|
|
apiVersion: metal3.io/v1alpha1
|
|
kind: BareMetalHost
|
|
metadata:
|
|
annotations:
|
|
airshipit.org/clustertype: target
|
|
name: master-1
|
|
spec:
|
|
online: true
|
|
bootMACAddress: 01:3b:8b:0c:ec:8b
|
|
bmc:
|
|
address: ipmi://192.168.111.2:6230
|
|
credentialsName: master-1-bmc-secret
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
annotations:
|
|
airshipit.org/clustertype: target
|
|
name: master-1-bmc-secret
|
|
type: Opaque
|
|
data:
|
|
username: YWRtaW4=
|
|
password: cGFzc3dvcmQ=
|
|
... |