Skip to content

Commit

Permalink
Merge pull request #742 from robscott/example-fix
Browse files Browse the repository at this point in the history
Moving method match to v1alpha2 example
  • Loading branch information
k8s-ci-robot authored Aug 3, 2021
2 parents c4a3a3e + 6354df0 commit 06a8183
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/basic-http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ spec:
path:
type: Prefix
value: /some/thing
method: GET
forwardTo:
- serviceName: my-service2
port: 8080
1 change: 1 addition & 0 deletions examples/v1alpha2/basic-http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ spec:
path:
type: Prefix
value: /some/thing
method: GET
forwardTo:
- serviceName: my-service2
port: 8080
3 changes: 3 additions & 0 deletions hack/verify-examples-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ kind create cluster --name "${CLUSTER_NAME}" --kubeconfig "${KUBECONFIG}" || res
# Install CRDs
kubectl apply --kubeconfig "${KUBECONFIG}" -f config/crd/bases || res=$?

# Temporary workaround for https://github.com/kubernetes/kubernetes/issues/104090
sleep 8

# Install all example gateway-api resources.
kubectl apply --kubeconfig "${KUBECONFIG}" --recursive -f examples || res=$?

Expand Down

0 comments on commit 06a8183

Please sign in to comment.