airshipctl/testdata/k8s/config.yaml
Alexander Noskov 84f2bc60c9 Fix default Airshipctl config parameters
Problems description:
Once we execute airshipctl config init, the default config in
~/.airship/config doesn't contain default values for:
currentContext: ~
clusters:
  default:
    clusterType:
      target:
        bootstrapInfo: ~
        managementConfiguration: ~
---
This PS set default values for Airshipctl config to use it
out of the box.

Closes: #234

Change-Id: I57449e678f19ab1c0e2212c38b01ea195f62aa44
2020-05-12 16:02:05 -05:00

42 lines
966 B
YAML

apiVersion: airshipit.org/v1alpha1
bootstrapInfo:
default:
builder:
networkConfigFileName: network-config
outputMetadataFileName: output-metadata.yaml
userDataFileName: user-data
container:
containerRuntime: docker
image: quay.io/airshipit/isogen:latest-debian_stable
volume: /srv/iso:/config
remoteDirect:
isoUrl: http://localhost:8099/debian-custom.iso
remoteType: redfish
clusters:
default:
clusterType:
target:
bootstrapInfo: ""
clusterKubeconf: default_target
kubernetes:
clusterType: {}
contexts:
default:
contextKubeconf: default_target
manifest: default
currentContext: ""
kind: Config
manifests:
default:
repository:
checkout:
branch: master
commitHash: master
force: false
remoteRef: master
tag: ""
url: https://opendev.org/airship/treasuremap
targetPath: /tmp/default
users:
admin: {}