airshipctl/testdata/k8s/config.yaml
Kostiantyn Kalynovskyi e1bc8ee07d [AIR-97] Adding initinfra subcommand
Command will deploy initial inftrastructure that is identified by
airshipctl document module, bundle interface, documents will be fitered
based on label and annotation, which will indicate that it belongs to
initial infrastructure.

After the documents are identified, they will be labeled
indicating that these resources are deployed by initinfra, if flag
`prune` is specified, resources that have initinfra annotation and
deployedBy initinfra label, but are not part of the documents supplied
by bundle interface will be deleted. If user wants to avoid pruning of
some resources he can remove label deployBy manually from the kubernetes
resources that should not prunned.

Change-Id: I143835291d449be420bfcb2944ba7eaec37c3411
2020-02-27 08:38:51 -06:00

43 lines
1003 B
YAML

apiVersion: airshipit.org/v1alpha1
clusters:
default:
cluster-type:
target:
bootstrap-info: ""
cluster-kubeconf: default_target
kubernetes:
cluster-type: {}
contexts:
default:
context-kubeconf: default_target
manifest: default
current-context: ""
kind: Config
manifests:
default:
repository:
checkout:
branch: master
commit-hash: master
force: false
remote-ref: master
tag: ""
url: https://opendev.org/airship/treasuremap
target-path: /tmp/default
modules-config:
bootstrapInfo:
default:
builder:
networkConfigFileName: network-config
outputMetadataFileName: output-metadata.yaml
userDataFileName: user-data
container:
containerRuntime: docker
image: quay.io/airshipit/isogen:latest
volume: /srv/iso:/config
remoteDirect:
isoUrl: http://localhost:8099/debian-custom.iso
remoteType: redfish
users:
admin: {}