
`airshipctl config init` command, generates default Airshipctl config with mutually exclusive checkout options. This CR fixing config generation by setting the only branch. The `commitHash` and `tag` remain empty as an example in config file.. Change-Id: I12ec9b713e8f6769ddbd5301e000ab0242ea8ff4 Closes: #233
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
apiVersion: airshipit.org/v1alpha1
|
|
bootstrapInfo:
|
|
dummy_bootstrap_config:
|
|
builder:
|
|
networkConfigFileName: netconfig
|
|
outputMetadataFileName: output-metadata.yaml
|
|
userDataFileName: user-data
|
|
container:
|
|
containerRuntime: docker
|
|
image: dummy_image:dummy_tag
|
|
volume: /dummy:dummy
|
|
clusters:
|
|
dummy_cluster:
|
|
clusterType:
|
|
ephemeral:
|
|
bootstrapInfo: dummy_bootstrap_config
|
|
clusterKubeconf: dummy_cluster_ephemeral
|
|
managementConfiguration: dummy_management_config
|
|
target:
|
|
bootstrapInfo: dummy_bootstrap_config
|
|
clusterKubeconf: dummy_cluster_target
|
|
managementConfiguration: dummy_management_config
|
|
contexts:
|
|
dummy_context:
|
|
contextKubeconf: dummy_cluster_ephemeral
|
|
manifest: dummy_manifest
|
|
currentContext: dummy_context
|
|
kind: Config
|
|
managementConfiguration:
|
|
dummy_management_config:
|
|
insecure: true
|
|
type: redfish
|
|
manifests:
|
|
dummy_manifest:
|
|
primaryRepositoryName: primary
|
|
repositories:
|
|
primary:
|
|
auth:
|
|
sshKey: testdata/test-key.pem
|
|
type: ssh-key
|
|
checkout:
|
|
branch: ""
|
|
commitHash: ""
|
|
force: false
|
|
tag: v1.0.1
|
|
url: http://dummy.url.com/manifests.git
|
|
subPath: manifests/site/test-site
|
|
targetPath: /var/tmp/
|
|
users:
|
|
dummy_user: {}
|