Skip to content

Commit 89847fd

Browse files
authored
contour listens on ipv6 (#3354)
Signed-off-by: Matej Vašek <[email protected]>
1 parent 5a33e9e commit 89847fd

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

hack/binaries.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ install_binaries() {
3333
local stern_version=1.32.0
3434
local kn_version=1.18.0
3535
local jq_version=1.7.1
36+
local yq_version=4.50.1
3637

3738
echo "${blue}Installing binaries${reset}"
3839
echo " OS: ${OS}"
@@ -48,6 +49,7 @@ install_binaries() {
4849
install_stern
4950
install_kn
5051
install_jq
52+
install_yq
5153

5254
echo "${green}DONE${reset}"
5355

@@ -148,6 +150,11 @@ install_jq() {
148150
"${bin}"/jq --version
149151
}
150152

153+
install_yq() {
154+
echo '=== yq'
155+
CGO_ENABLED=0 GOBIN="${bin}" go install "github.com/mikefarah/yq/v4@v${yq_version}"
156+
}
157+
151158
if [ "$0" = "${BASH_SOURCE[0]}" ]; then
152159
set -o errexit
153160
set -o nounset

hack/cluster.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,11 @@ networking() {
236236
echo "Version: ${contour_version}"
237237

238238
echo "Installing a configured Contour."
239-
$KUBECTL apply -f "https://github.com/knative/net-contour/releases/download/knative-${contour_version}/contour.yaml"
239+
curl -sSL "https://github.com/knative/net-contour/releases/download/knative-${contour_version}/contour.yaml" \
240+
| $YQ '(select(.kind == "Deployment" and .metadata.name == "contour").spec.template.spec.containers[0].args)
241+
+= ["--envoy-service-http-address=::", "--envoy-service-https-address=::"]' \
242+
| $KUBECTL apply -f -
243+
240244
sleep 5
241245
$KUBECTL wait pod --for=condition=Ready -l '!job-name' -n contour-external --timeout=10m
242246

hack/common.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ find_executables() {
2727
STERN=$(find_executable "stern" || true)
2828
KN=$(find_executable "kn" || true)
2929
JQ=$(find_executable "jq" || true)
30+
YQ=$(find_executable "yq" || true)
3031
}
3132

3233
populate_environment() {

0 commit comments

Comments
 (0)