Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Commit f3778f7

Browse files
author
Mathieu Benoit
committed
curl -4 ifconfig.co
1 parent 424b238 commit f3778f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/config-controller/create-config-controller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "export RANDOM_SUFFIX=${RANDOM_SUFFIX}" >> ~/acm-workshop-variables.sh
1616
echo "export CONFIG_CONTROLLER_PROJECT_ID=acm-workshop-${RANDOM_SUFFIX}" >> ~/acm-workshop-variables.sh
1717
echo "export BILLING_ACCOUNT_ID=${BILLING_ACCOUNT_ID}" >> ~/acm-workshop-variables.sh
1818
echo "export ORG_OR_FOLDER_ID=${ORG_OR_FOLDER_ID}" >> ~/acm-workshop-variables.sh
19-
echo "export LOCAL_IP_ADDRESS=$(curl ifconfig.co)" >> ~/acm-workshop-variables.sh
19+
echo "export LOCAL_IP_ADDRESS=$(curl -4 ifconfig.co)" >> ~/acm-workshop-variables.sh
2020
echo "export CONFIG_CONTROLLER_NAME=configcontroller" >> ~/acm-workshop-variables.sh
2121
echo "export CONFIG_CONTROLLER_LOCATION=us-east1" >> ~/acm-workshop-variables.sh
2222
source ~/acm-workshop-variables.sh

content/gke-cluster/extras.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Currently, you can't access the GKE cluster via `kubectl` commands because it's
4040
- cidrBlock: FIXME_YOUR_LOCAL_IP_ADDRESS/32
4141
displayName: local
4242
```
43-
As an example, you could get your local IP address by running this command: `curl ifconfig.co`.
43+
As an example, you could get your local IP address by running this command: `curl -4 ifconfig.co`.
4444

4545
The associated file to update manually is here: `~/$GKE_PROJECT_DIR_NAME/config-sync/gke-cluster.yaml`, and you could then run this command to actually deploy this change in Config Controller:
4646
```Bash

0 commit comments

Comments
 (0)