airshipctl/tools/deployment/templates/airshipconfig_template

40 lines
1.4 KiB
Plaintext

apiVersion: airshipit.org/v1alpha1
managementConfiguration:
dummy_management_config:
type: ${REMOTE_TYPE}
insecure: ${REMOTE_INSECURE}
useproxy: ${REMOTE_PROXY}
systemActionRetries: ${SYSTEM_ACTION_RETRIES}
systemRebootDelay: ${SYSTEM_REBOOT_DELAY}
contexts:
ephemeral-cluster:
manifest: dummy_manifest
managementConfiguration: dummy_management_config
target-cluster:
manifest: dummy_manifest
managementConfiguration: dummy_management_config
currentContext: ephemeral-cluster
kind: Config
manifests:
dummy_manifest:
phaseRepositoryName: primary
repositories:
primary:
checkout:
branch: "${AIRSHIP_CONFIG_PHASE_REPO_BRANCH}"
force: false
ref: "${AIRSHIP_CONFIG_PHASE_REPO_REF}"
tag: ""
fetch:
remoteRefSpec: "${AIRSHIP_CONFIG_PHASE_REPO_REMOTE_REF}"
url: ${AIRSHIP_CONFIG_PHASE_REPO_URL}
auth:
type: "$AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_TYPE"
keyPass: "$AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_KEY_PASSWORD"
sshKey: "$AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_KEY_PATH"
httpPass: "$AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_HTTP_PASSWORD"
sshPass: "$AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_SSH_PASSWORD"
username: "$AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_USERNAME"
metadataPath: ${AIRSHIP_CONFIG_METADATA_PATH}
targetPath: ${AIRSHIP_CONFIG_MANIFEST_DIRECTORY}