31f5e96402
The commit adds integration test that includes baremetal operator - test is driven by airshipctl phases - Deploys BMO from airshipctl repository as a phase - Verifies that after VINO-CR is deployed BMHs are created - Verifies that BMO can install an image into those BMHs using pxe - Various fixes that allow to integrate with BMO - Disables password authentication for BMHs untill we have a fix - BMO fails to authenticate against simple auth provided by nginx - Removes unit-tests for BMO creation. The whole approach of requesting VMs from vino-builder should be changed. When we have final view of the process, we will well define vino-builder API and add unit-tests to vino controller and builder Change-Id: I51976ca20811b227ecb069c4ffd81d8afe086e57
72 lines
1.4 KiB
YAML
72 lines
1.4 KiB
YAML
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: KubernetesApply
|
|
metadata:
|
|
name: default-applier
|
|
config:
|
|
waitOptions:
|
|
timeout: 1000
|
|
pruneOptions:
|
|
prune: false
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: GenericContainer
|
|
metadata:
|
|
name: node-labels-rack-server
|
|
spec:
|
|
image: quay.io/airshipit/toolbox:latest
|
|
hostNetwork: true
|
|
envVars:
|
|
- NODE_LABELS=airshipit.org/server=s1 airshipit.org/rack=r1
|
|
configRef:
|
|
kind: ConfigMap
|
|
name: node-labler
|
|
apiVersion: v1
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: GenericContainer
|
|
metadata:
|
|
name: check-daemonset
|
|
spec:
|
|
image: quay.io/airshipit/toolbox:latest
|
|
hostNetwork: true
|
|
configRef:
|
|
kind: ConfigMap
|
|
name: check-daemonset
|
|
apiVersion: v1
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: GenericContainer
|
|
metadata:
|
|
name: check-bmh
|
|
spec:
|
|
image: quay.io/airshipit/toolbox:latest
|
|
hostNetwork: true
|
|
configRef:
|
|
kind: ConfigMap
|
|
name: check-bmh
|
|
apiVersion: v1
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: GenericContainer
|
|
metadata:
|
|
name: wait-bmh
|
|
spec:
|
|
image: quay.io/airshipit/toolbox:latest
|
|
hostNetwork: true
|
|
configRef:
|
|
kind: ConfigMap
|
|
name: wait-bmh
|
|
apiVersion: v1
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: GenericContainer
|
|
metadata:
|
|
name: delete-vino-cr
|
|
spec:
|
|
image: quay.io/airshipit/toolbox:latest
|
|
hostNetwork: true
|
|
configRef:
|
|
kind: ConfigMap
|
|
name: delete-vino-cr
|
|
apiVersion: v1 |