Skip to content

Commit

Permalink
Update triggers to use v1beta1 and bump triggers, pipeline, Knative a…
Browse files Browse the repository at this point in the history
…nd k8s version
  • Loading branch information
savitaashture committed Aug 23, 2021
1 parent 890ff32 commit e8f4f96
Show file tree
Hide file tree
Showing 1,523 changed files with 50,567 additions and 172,857 deletions.
3 changes: 2 additions & 1 deletion cmd/kubernetes/proxy-webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ package main

import (
"github.com/tektoncd/operator/pkg/reconciler/proxy"
"knative.dev/pkg/injection"
"knative.dev/pkg/injection/sharedmain"
"knative.dev/pkg/webhook/certificates"
)

func main() {
sharedmain.WebhookMainWithConfig(proxy.Getctx(), "webhook-operator",
sharedmain.ParseAndGetConfigOrDie(),
injection.ParseAndGetRESTConfigOrDie(),
certificates.NewController,
proxy.NewProxyDefaultingAdmissionController,
)
Expand Down
3 changes: 2 additions & 1 deletion cmd/openshift/proxy-webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/tektoncd/operator/pkg/reconciler/proxy"
"knative.dev/pkg/configmap"
"knative.dev/pkg/controller"
"knative.dev/pkg/injection"
"knative.dev/pkg/injection/sharedmain"
"knative.dev/pkg/webhook/certificates"
)
Expand All @@ -49,7 +50,7 @@ func newAnnotationDefaultingAdmissionController(ctx context.Context, cmw configm

func main() {
sharedmain.WebhookMainWithConfig(proxy.Getctx(), "webhook-operator",
sharedmain.ParseAndGetConfigOrDie(),
injection.ParseAndGetRESTConfigOrDie(),
certificates.NewController,
proxy.NewProxyDefaultingAdmissionController,
newAnnotationDefaultingAdmissionController,
Expand Down
22 changes: 11 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ module github.com/tektoncd/operator

require (
github.com/go-logr/zapr v0.4.0
github.com/google/go-cmp v0.5.5
github.com/google/go-cmp v0.5.6
github.com/manifestival/client-go-client v0.5.0
github.com/manifestival/controller-runtime-client v0.4.0
github.com/manifestival/manifestival v0.7.0
github.com/markbates/inflect v1.0.4
github.com/tektoncd/plumbing v0.0.0-20210514044347-f8a9689d5bd5
github.com/tektoncd/triggers v0.14.1
go.uber.org/zap v1.16.0
golang.org/x/mod v0.4.1
gomodules.xyz/jsonpatch/v2 v2.1.0
github.com/tektoncd/triggers v0.15.1
go.uber.org/zap v1.18.1
golang.org/x/mod v0.4.2
gomodules.xyz/jsonpatch/v2 v2.2.0
gotest.tools v2.2.0+incompatible
gotest.tools/v3 v3.0.3
k8s.io/api v0.19.7
k8s.io/apiextensions-apiserver v0.19.7
k8s.io/apimachinery v0.19.7
k8s.io/client-go v0.19.7
k8s.io/code-generator v0.19.7
knative.dev/pkg v0.0.0-20210331065221-952fdd90dbb0
k8s.io/api v0.20.7
k8s.io/apiextensions-apiserver v0.20.7
k8s.io/apimachinery v0.20.7
k8s.io/client-go v0.20.7
k8s.io/code-generator v0.20.7
knative.dev/pkg v0.0.0-20210730172132-bb4aaf09c430
sigs.k8s.io/controller-runtime v0.7.2
)

Expand Down
137 changes: 131 additions & 6 deletions go.sum

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions hack/update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ source $(git rev-parse --show-toplevel)/vendor/github.com/tektoncd/plumbing/scri
cd ${REPO_ROOT_DIR}

VERSION="release-0.22"
K8S_VERSION="v0.19.7"
TRIGGERS_VERSION="v0.14.1"
PIPELINE_VERSION="v0.24.1"
K8S_VERSION="v0.20.7"
TRIGGERS_VERSION="v0.15.0"
PIPELINE_VERSION="v0.27.1"

# The list of dependencies that we track at HEAD and periodically
# float forward in this repository.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e8f4f96

Please sign in to comment.