File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -46,25 +46,22 @@ azcfg: ## Set the $AZCLI to use aks-preview
4646 @$(AZCLI ) extension add --name aks-preview --yes
4747 @$(AZCLI ) extension update --name aks-preview
4848
49- public-ipv4 :
50- $(AZCLI ) network public-ip create --name $(PUBLIC_IPv4 ) \
49+ ip :
50+ $(AZCLI ) network public-ip create --name $(IP_PREFIX ) - $( CLUSTER ) - $( IPVERSION ) \
5151 --resource-group $(GROUP ) \
5252 --allocation-method Static \
5353 --ip-tags $(IP_TAG ) \
5454 --location $(REGION ) \
5555 --sku Standard \
5656 --tier Regional \
57- --version IPv4
57+ --version IP$(IPVERSION )
58+
59+ ipv4 :
60+ @$(MAKE ) ip IPVERSION=v4
61+
62+ ipv6 :
63+ @$(MAKE ) ip IPVERSION=v6
5864
59- public-ipv6 :
60- $(AZCLI ) network public-ip create --name $(PUBLIC_IPv6 ) \
61- --resource-group $(GROUP ) \
62- --allocation-method Static \
63- --ip-tags $(IP_TAG ) \
64- --location $(REGION ) \
65- --sku Standard \
66- --tier Regional \
67- --version IPv6
6865
6966set-kubeconf : # # Adds the kubeconf for $CLUSTER
7067 $(AZCLI ) aks get-credentials -n $(CLUSTER ) -g $(GROUP )
You can’t perform that action at this time.
0 commit comments