Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 4dc618f

Browse files
authored
Merge pull request #503 from jcsirot/bump-kube-1.14.0
Bump kubernetes dependencies to 1.14.1
2 parents f0bf841 + e47b30f commit 4dc618f

File tree

821 files changed

+108586
-64549
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

821 files changed

+108586
-64549
lines changed

Gopkg.lock

Lines changed: 176 additions & 202 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ required = ["github.com/wadey/gocovmerge"]
3838

3939
[[override]]
4040
name = "github.com/docker/cli"
41-
branch = "master"
41+
branch = "19.03"
4242

43-
# Waiting for https://github.com/deislabs/duffle/pull/682 to be merged
4443
[[override]]
4544
name = "github.com/deislabs/duffle"
46-
source = "github.com/ijc/duffle"
47-
branch = "set-merge"
45+
branch = "master"
4846

4947
[[constraint]]
5048
name = "github.com/sirupsen/logrus"
@@ -66,29 +64,38 @@ required = ["github.com/wadey/gocovmerge"]
6664
name = "github.com/docker/go-metrics"
6765
revision = "d466d4f6fd960e01820085bd7e1a24426ee7ef18"
6866

67+
[[override]]
68+
name = "github.com/prometheus/client_golang"
69+
revision = "v0.8.0"
70+
6971
[[override]]
7072
name = "github.com/docker/distribution"
7173
revision = "0d3efadf0154c2b8a4e7b6621fff9809655cc580"
7274

7375
[[override]]
7476
name = "github.com/docker/swarmkit"
75-
revision = "edd5641391926a50bc5f7040e20b7efc05003c26"
77+
revision = "18e7e58ea1a5ec016625a636d0d52500eea123bc"
7678

7779
[[override]]
7880
name = "k8s.io/kubernetes"
79-
revision = "v1.11.1"
81+
revision = "v1.14.1"
8082

8183
[[override]]
8284
name = "k8s.io/api"
83-
revision = "kubernetes-1.11.1"
85+
revision = "kubernetes-1.14.1"
8486

8587
[[override]]
8688
name = "k8s.io/apimachinery"
87-
revision = "kubernetes-1.11.1"
89+
revision = "kubernetes-1.14.1"
90+
91+
# Overriding imdario/mergo since https://github.com/imdario/mergo/pull/112 is required
92+
[[override]]
93+
name = "github.com/imdario/mergo"
94+
branch = "master"
8895

8996
[[override]]
9097
name = "k8s.io/client-go"
91-
revision = "kubernetes-1.11.1"
98+
revision = "kubernetes-1.14.1"
9299

93100
# This is using a fork waiting for go-yaml/yaml#375 to be merged
94101
# This PR allows to set a max decoded value, thus not being exposed to yaml bombs

cmd/cnab-run/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"strconv"
88

9-
"github.com/deislabs/duffle/pkg/bundle"
9+
"github.com/deislabs/cnab-go/bundle"
1010
"github.com/docker/app/internal"
1111
"github.com/docker/app/internal/packager"
1212
"github.com/docker/app/render"

internal/commands/bundle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"io/ioutil"
99

10-
"github.com/deislabs/duffle/pkg/bundle"
10+
"github.com/deislabs/cnab-go/bundle"
1111
"github.com/docker/app/internal"
1212
"github.com/docker/app/internal/packager"
1313
"github.com/docker/app/types"

internal/commands/cnab.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"os"
1111
"strings"
1212

13+
"github.com/deislabs/cnab-go/bundle"
1314
"github.com/deislabs/duffle/pkg/action"
14-
"github.com/deislabs/duffle/pkg/bundle"
1515
"github.com/deislabs/duffle/pkg/claim"
1616
"github.com/deislabs/duffle/pkg/credentials"
1717
"github.com/deislabs/duffle/pkg/driver"
@@ -225,7 +225,7 @@ func resolveBundle(dockerCli command.Cli, bundleStore appstore.BundleStore, name
225225
if strings.HasSuffix(name, internal.AppExtension) {
226226
return extractAndLoadAppBasedBundle(dockerCli, name)
227227
}
228-
return loader.NewDetectingLoader().Load(name)
228+
return loader.NewLoader().Load(name)
229229
case nameKindDir, nameKindEmpty:
230230
if pullRef {
231231
if kind == nameKindDir {

internal/commands/cnab_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/deislabs/duffle/pkg/bundle"
7+
"github.com/deislabs/cnab-go/bundle"
88
"github.com/docker/app/internal"
99
"github.com/docker/cli/cli/command"
1010
"github.com/docker/cli/cli/config/configfile"

internal/commands/parameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package commands
33
import (
44
"fmt"
55

6-
"github.com/deislabs/duffle/pkg/bundle"
6+
"github.com/deislabs/cnab-go/bundle"
77
"github.com/deislabs/duffle/pkg/claim"
88
"github.com/docker/app/internal"
99
"github.com/docker/app/types/parameters"

internal/commands/parameters_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package commands
33
import (
44
"testing"
55

6-
"github.com/deislabs/duffle/pkg/bundle"
6+
"github.com/deislabs/cnab-go/bundle"
77
"github.com/deislabs/duffle/pkg/claim"
88
"github.com/docker/app/internal"
99
"gotest.tools/assert"

internal/commands/push.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111

1212
"github.com/containerd/containerd/platforms"
13-
"github.com/deislabs/duffle/pkg/bundle"
13+
"github.com/deislabs/cnab-go/bundle"
1414
"github.com/docker/app/internal/packager"
1515
"github.com/docker/app/types/metadata"
1616
"github.com/docker/cli/cli"
@@ -101,7 +101,7 @@ func runPush(dockerCli command.Cli, name string, opts pushOptions) error {
101101
return err
102102
}
103103
// push bundle manifest
104-
descriptor, err := remotes.Push(context.Background(), bndl, retag.cnabRef, resolverConfig.Resolver)
104+
descriptor, err := remotes.Push(context.Background(), bndl, retag.cnabRef, resolverConfig.Resolver, true)
105105
if err != nil {
106106
return err
107107
}

internal/commands/push_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package commands
33
import (
44
"testing"
55

6-
"github.com/deislabs/duffle/pkg/bundle"
6+
"github.com/deislabs/cnab-go/bundle"
77
"github.com/docker/app/types/metadata"
88
"github.com/docker/distribution/reference"
99
"gotest.tools/assert"

0 commit comments

Comments
 (0)