Skip to content

Commit

Permalink
chore: Upgrade to Kubernetes v0.23 (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Feb 16, 2022
1 parent 5857b0f commit 8d60d39
Show file tree
Hide file tree
Showing 14 changed files with 7,638 additions and 2,095 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/generated.proto

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

6 changes: 3 additions & 3 deletions api/v1alpha1/step_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ func (in Step) GetPodSpec(req GetPodSpecReq) corev1.PodSpec {
{ContainerPort: 3570},
},
ReadinessProbe: &corev1.Probe{
Handler: corev1.Handler{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{Scheme: "HTTPS", Path: "/ready", Port: intstr.FromInt(3570)},
},
},
Lifecycle: &corev1.Lifecycle{
PreStop: &corev1.Handler{
PreStop: &corev1.LifecycleHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/pre-stop?source=kubernetes",
Port: intstr.FromInt(3570),
Expand All @@ -195,7 +195,7 @@ func (in Step) GetPodSpec(req GetPodSpecReq) corev1.PodSpec {
imageFormat: req.ImageFormat,
imagePullPolicy: req.PullPolicy,
lifecycle: &corev1.Lifecycle{
PreStop: &corev1.Handler{
PreStop: &corev1.LifecycleHandler{
Exec: &corev1.ExecAction{
Command: []string{PathPreStop},
},
Expand Down
6 changes: 3 additions & 3 deletions api/v1alpha1/step_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestStep_GetPodSpec(t *testing.T) {
Image: "my-runner",
ImagePullPolicy: corev1.PullAlways,
Name: "sidecar",
Lifecycle: &corev1.Lifecycle{PreStop: &corev1.Handler{
Lifecycle: &corev1.Lifecycle{PreStop: &corev1.LifecycleHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/pre-stop?source=kubernetes",
Port: intstr.FromInt(3570),
Expand All @@ -74,7 +74,7 @@ func TestStep_GetPodSpec(t *testing.T) {
}},
Ports: []corev1.ContainerPort{{ContainerPort: 3570}},
ReadinessProbe: &corev1.Probe{
Handler: corev1.Handler{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{Path: "/ready", Port: intstr.FromInt(3570), Scheme: "HTTPS"},
},
},
Expand All @@ -87,7 +87,7 @@ func TestStep_GetPodSpec(t *testing.T) {
Image: "my-runner",
ImagePullPolicy: corev1.PullAlways,
Name: "main",
Lifecycle: &corev1.Lifecycle{PreStop: &corev1.Handler{
Lifecycle: &corev1.Lifecycle{PreStop: &corev1.LifecycleHandler{
Exec: &corev1.ExecAction{Command: []string{"/var/run/argo-dataflow/prestop"}},
}},
Resources: standardResources,
Expand Down
1,292 changes: 1,034 additions & 258 deletions config/ci.yaml

Large diffs are not rendered by default.

1,292 changes: 1,034 additions & 258 deletions config/cluster-quick-start.yaml

Large diffs are not rendered by default.

686 changes: 545 additions & 141 deletions config/crd/bases/dataflow.argoproj.io_pipelines.yaml

Large diffs are not rendered by default.

606 changes: 489 additions & 117 deletions config/crd/bases/dataflow.argoproj.io_steps.yaml

Large diffs are not rendered by default.

1,292 changes: 1,034 additions & 258 deletions config/default-cluster.yaml

Large diffs are not rendered by default.

1,292 changes: 1,034 additions & 258 deletions config/default.yaml

Large diffs are not rendered by default.

1,292 changes: 1,034 additions & 258 deletions config/dev.yaml

Large diffs are not rendered by default.

1,292 changes: 1,034 additions & 258 deletions config/quick-start.yaml

Large diffs are not rendered by default.

85 changes: 42 additions & 43 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ require (
github.com/aws/aws-sdk-go-v2/config v1.7.0
github.com/aws/aws-sdk-go-v2/credentials v1.4.0
github.com/aws/aws-sdk-go-v2/service/s3 v1.14.0
github.com/bombsimon/logrusr v1.1.0
github.com/bombsimon/logrusr/v2 v2.0.1
github.com/confluentinc/confluent-kafka-go v1.8.2
github.com/doublerebel/bellows v0.0.0-20160303004610-f177d92a03d3
github.com/evanphx/json-patch v5.6.0+incompatible
github.com/go-git/go-git/v5 v5.3.0
github.com/go-logr/logr v0.4.0
github.com/go-logr/logr v1.2.2
github.com/go-sql-driver/mysql v1.6.0
github.com/gogo/protobuf v1.3.2
github.com/google/uuid v1.1.2
github.com/google/uuid v1.3.0
github.com/hashicorp/golang-lru v0.5.4
github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b
github.com/nats-io/nats-streaming-server v0.24.1
github.com/nats-io/nats.go v1.13.1-0.20220121202836-972a071d373d
github.com/nats-io/stan.go v0.10.2
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.15.0
github.com/onsi/gomega v1.17.0
github.com/opentracing/opentracing-go v1.2.0
github.com/prometheus/client_golang v1.12.1
github.com/prometheus/client_model v0.2.0
Expand All @@ -37,22 +37,22 @@ require (
github.com/uber/jaeger-lib v2.4.1+incompatible
github.com/weaveworks/promrus v1.2.0
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
k8s.io/api v0.20.4
k8s.io/apimachinery v0.20.4
k8s.io/client-go v0.20.4
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
sigs.k8s.io/controller-runtime v0.7.0
sigs.k8s.io/yaml v1.2.0
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
k8s.io/api v0.23.3
k8s.io/apimachinery v0.23.3
k8s.io/client-go v0.23.3
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
sigs.k8s.io/controller-runtime v0.11.1
sigs.k8s.io/yaml v1.3.0
)

require (
cloud.google.com/go v0.65.0 // indirect
cloud.google.com/go v0.81.0 // indirect
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
github.com/Azure/go-autorest/autorest v0.11.1 // indirect
github.com/Azure/go-autorest/autorest/adal v0.9.5 // indirect
github.com/Azure/go-autorest/autorest v0.11.18 // indirect
github.com/Azure/go-autorest/autorest/adal v0.9.13 // indirect
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
github.com/Azure/go-autorest/logger v0.2.0 // indirect
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
Expand All @@ -69,19 +69,18 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/fatih/color v1.7.0 // indirect
github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/fatih/color v1.12.0 // indirect
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.1.0 // indirect
github.com/go-logr/zapr v0.2.0 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/go-logr/zapr v1.2.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.6 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/googleapis/gnostic v0.5.1 // indirect
github.com/google/go-cmp v0.5.7 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/googleapis/gnostic v0.5.5 // indirect
github.com/hashicorp/go-hclog v1.1.0 // indirect
github.com/hashicorp/go-immutable-radix v1.0.0 // indirect
github.com/hashicorp/go-msgpack v1.1.5 // indirect
Expand All @@ -93,13 +92,14 @@ require (
github.com/json-iterator/go v1.1.12 // indirect
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/mattn/go-isatty v0.0.10 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/minio/highwayhash v1.0.2 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/nats-io/jwt/v2 v2.2.1-0.20220113022732-58e87895b296 // indirect
Expand All @@ -116,26 +116,25 @@ require (
go.etcd.io/bbolt v1.3.6 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.16.0 // indirect
golang.org/x/mod v0.5.1-0.20210830214625-1b1db11ec8f4 // indirect
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c // indirect
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
gomodules.xyz/jsonpatch/v2 v2.1.0 // indirect
google.golang.org/appengine v1.6.6 // indirect
google.golang.org/protobuf v1.26.0 // indirect
go.uber.org/zap v1.19.1 // indirect
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
honnef.co/go/tools v0.1.3 // indirect
k8s.io/apiextensions-apiserver v0.19.2 // indirect
k8s.io/component-base v0.19.2 // indirect
k8s.io/klog/v2 v2.4.0 // indirect
k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.0.2 // indirect
k8s.io/apiextensions-apiserver v0.23.3 // indirect
k8s.io/component-base v0.23.3 // indirect
k8s.io/klog/v2 v2.40.1 // indirect
k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf // indirect
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
)
Loading

0 comments on commit 8d60d39

Please sign in to comment.