Skip to content

Commit b3c2bfe

Browse files
Add missing mkdir step for CAPI backup directory (#10418)
Co-authored-by: rajeshvenkata <[email protected]>
1 parent 0c42176 commit b3c2bfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/content/en/docs/clustermgmt/cluster-backup-restore/backup-cluster.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ MGMT_CLUSTER="mgmt"
4646
MGMT_CLUSTER_KUBECONFIG=${MGMT_CLUSTER}/${MGMT_CLUSTER}-eks-a-cluster.kubeconfig
4747
BACKUP_DIRECTORY=backup-mgmt
4848

49+
# Create the backup directory
50+
mkdir -p ${BACKUP_DIRECTORY}
51+
4952
# Substitute the EKS Anywhere release version with whatever CLI version you are using
5053
EKSA_RELEASE_VERSION=v0.23.0
5154
BUNDLE_MANIFEST_URL=$(curl -s https://anywhere-assets.eks.amazonaws.com/releases/eks-a/manifest.yaml | yq ".spec.releases[] | select(.version==\"$EKSA_RELEASE_VERSION\").bundleManifestUrl")

0 commit comments

Comments
 (0)