Skip to content

Commit

Permalink
Moving method match to v1alpha2 example
Browse files Browse the repository at this point in the history
  • Loading branch information
robscott committed Aug 3, 2021
1 parent c4a3a3e commit 6354df0
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 6354df0

Please sign in to comment.