Skip to content

Commit

Permalink
Move to using Istio v1alpha3 API.
Browse files Browse the repository at this point in the history
More test fixes.

revert unnecesary config change

Change istio8 -> istio, now that we eliminated the usage of v1alpha2.
  • Loading branch information
Nghia Tran committed Jun 15, 2018
1 parent 3f66aaa commit d7e75ae
Show file tree
Hide file tree
Showing 976 changed files with 251,101 additions and 2,461 deletions.
319 changes: 317 additions & 2 deletions Gopkg.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SERVING_ROOT}; ls -d -1 ./vendor/k8s.io/code-g
# instead of the $GOPATH directly. For normal projects this can be dropped.
${CODEGEN_PKG}/generate-groups.sh "deepcopy,client,informer,lister" \
github.com/knative/serving/pkg/client github.com/knative/serving/pkg/apis \
"serving:v1alpha1 istio:v1alpha2" \
"serving:v1alpha1 istio:v1alpha3" \
--go-header-file ${SERVING_ROOT}/hack/boilerplate/boilerplate.go.txt

# Update code to change Gatewaies -> Gateways to workaround cleverness of codegen pluralizer.
find -name '*.go' -exec grep -l atewaies {} \; | xargs sed 's/atewaies/ateways/g' -i

# Make sure our dependencies are up-to-date
${SERVING_ROOT}/hack/update-deps.sh
2 changes: 1 addition & 1 deletion pkg/apis/istio/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ limitations under the License.
package istio

const (
GroupName = "config.istio.io"
GroupName = "networking.istio.io"
)
101 changes: 0 additions & 101 deletions pkg/apis/istio/v1alpha2/routerule_types.go

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ limitations under the License.
// of the same resource

// +k8s:deepcopy-gen=package
// +groupName=config.istio.io
package v1alpha2
// +groupName=networking.istio.io
package v1alpha3
Loading

0 comments on commit d7e75ae

Please sign in to comment.