Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 2c2cb0d

Browse files
authored
build: Update AWS CPI manifest filenames (nutanix-cloud-native#410)
1 parent d2fd564 commit 2c2cb0d

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

hack/addons/update-aws-cpi.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ kustomize build --enable-helm "${ASSETS_DIR}" >"${ASSETS_DIR}/${FILE_NAME}"
3030

3131
kubectl create configmap aws-cpi-"${AWS_CPI_VERSION}" --dry-run=client --output yaml \
3232
--from-file "${ASSETS_DIR}/${FILE_NAME}" \
33-
>"${ASSETS_DIR}/aws-ebs-cpi-${AWS_CPI_VERSION}-configmap.yaml"
33+
>"${ASSETS_DIR}/aws-cpi-${AWS_CPI_VERSION}-configmap.yaml"
3434

3535
# add warning not to edit file directly
36-
cat <<EOF >"${GIT_REPO_ROOT}/charts/capi-runtime-extensions/templates/cpi/aws/manifests/aws-ebs-cpi-${AWS_CPI_VERSION}-configmap.yaml"
36+
cat <<EOF >"${GIT_REPO_ROOT}/charts/capi-runtime-extensions/templates/cpi/aws/manifests/aws-cpi-${AWS_CPI_VERSION}-configmap.yaml"
3737
$(cat "${GIT_REPO_ROOT}/hack/license-header.yaml.txt")
3838
3939
#=================================================================
4040
# DO NOT EDIT THIS FILE
4141
# IT HAS BEEN GENERATED BY /hack/addons/update-aws-cpi.sh
4242
#=================================================================
43-
$(cat "${ASSETS_DIR}/aws-ebs-cpi-${AWS_CPI_VERSION}-configmap.yaml")
43+
$(cat "${ASSETS_DIR}/aws-cpi-${AWS_CPI_VERSION}-configmap.yaml")
4444
EOF

make/addons.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export AWS_CPI_CHART_VERSION_127 := 0.0.8
1212
export AWS_CPI_VERSION_128 := v1.28.1
1313
export AWS_CPI_CHART_VERSION_128 := 0.0.8
1414

15-
addons.sync: $(addprefix update-addon.,calico cilium nfd aws-ebs-csi)
15+
.PHONY: addons.sync
16+
addons.sync: $(addprefix update-addon.,calico cilium nfd aws-ebs-csi aws-cpi.127 aws-cpi.128)
1617

1718
.PHONY: update-addon.calico
1819
update-addon.calico: ; $(info $(M) updating calico manifests)
@@ -31,5 +32,5 @@ update-addon.aws-ebs-csi: ; $(info $(M) updating aws ebs csi manifests)
3132
./hack/addons/update-aws-ebs-csi.sh
3233

3334
.PHONY: update-addon.aws-cpi.%
34-
update-addon.aws-cpi.%: ; $(info $(M) updating aws cpi manifests)
35+
update-addon.aws-cpi.%: ; $(info $(M) updating aws cpi $* manifests)
3536
./hack/addons/update-aws-cpi.sh $(AWS_CPI_VERSION_$*) $(AWS_CPI_CHART_VERSION_$*)

0 commit comments

Comments
 (0)