Skip to content

Commit

Permalink
update source AMI owner and ECR repo for govcloud (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
heybronson authored Apr 29, 2020
1 parent a27a0e4 commit 7d4aae8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ ifeq ($(aws_region), cn-northwest-1)
source_ami_owners ?= 141808717104
endif

ifeq ($(aws_region), us-gov-west-1)
source_ami_owners ?= 045324592363
endif

T_RED := \e[0;31m
T_GREEN := \e[0;32m
T_YELLOW := \e[0;33m
Expand Down Expand Up @@ -48,7 +52,7 @@ k8s: validate
.PHONY: 1.14
1.14:
$(MAKE) k8s kubernetes_version=1.14.9 kubernetes_build_date=2020-04-16 pull_cni_from_github=true

.PHONY: 1.15
1.15:
$(MAKE) k8s kubernetes_version=1.15.11 kubernetes_build_date=2020-04-16 pull_cni_from_github=true
5 changes: 4 additions & 1 deletion files/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ function get_pause_container_account_for_region () {
echo "${PAUSE_CONTAINER_ACCOUNT:-918309763551}";;
cn-northwest-1)
echo "${PAUSE_CONTAINER_ACCOUNT:-961992271922}";;
us-gov-west-1)
echo "${PAUSE_CONTAINER_ACCOUNT:-013241004608}";;
us-gov-east-1)
echo "${PAUSE_CONTAINER_ACCOUNT:-151742754352}";;
*)
echo "${PAUSE_CONTAINER_ACCOUNT:-602401143452}";;
esac
Expand Down Expand Up @@ -324,4 +328,3 @@ fi
systemctl daemon-reload
systemctl enable kubelet
systemctl start kubelet

0 comments on commit 7d4aae8

Please sign in to comment.