Skip to content

Commit

Permalink
Merge pull request #6 from werf/fix-delivery-cert-updates
Browse files Browse the repository at this point in the history
fix: delivery certification updates
  • Loading branch information
ilya-lesikov authored Apr 12, 2024
2 parents 360b3c1 + 7223d4d commit 4a2e80a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions cmd/delivery.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ import (

werfcommon "github.com/werf/werf/cmd/werf/common"
werfroot "github.com/werf/werf/cmd/werf/root"
"github.com/werf/werf/pkg/storage"
)

func init() {
storage.DefaultHttpSynchronizationServer = "https://delivery-sync.deckhouse.ru"

ctx := werfcommon.GetContextWithLogger()

werfRootCmd, err := werfroot.ConstructRootCmd(ctx)
Expand All @@ -24,6 +27,11 @@ func init() {
werfRootCmd = ReplaceCommandName("werf", "d8 d", werfRootCmd)
werfRootCmd.Short = strings.Replace(werfRootCmd.Short, "werf", "d8 d", 1)
werfRootCmd.Long = strings.Replace(werfRootCmd.Long, "werf", "d8 d", 1)
werfRootCmd.Long = werfRootCmd.Long + `
LICENSE NOTE: The d8 delivery functionality is exclusively available to users holding a valid license for any commercial version of the Deckhouse Kubernetes Platform.
© Flant JSC 2024`

removeKubectlCmd(werfRootCmd)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/spf13/pflag v1.0.5
github.com/werf/logboek v0.6.1
github.com/werf/nelm v0.0.0-20240409125451-b3f238780b01
github.com/werf/werf v1.2.308-0.20240411153803-0f37b66b1e68
github.com/werf/werf v1.2.308-0.20240412120428-f9e84f4ffd44
golang.org/x/crypto v0.21.0
golang.org/x/sys v0.18.0
golang.org/x/term v0.18.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,8 @@ github.com/werf/logboek v0.6.1 h1:oEe6FkmlKg0z0n80oZjLplj6sXcBeLleCkjfOOZEL2g=
github.com/werf/logboek v0.6.1/go.mod h1:Gez5J4bxekyr6MxTmIJyId1F61rpO+0/V4vjCIEIZmk=
github.com/werf/nelm v0.0.0-20240409125451-b3f238780b01 h1:aShJQrN7nZxZNrXwi4I4FtePJzgzD8tnDbRNzDeDHdo=
github.com/werf/nelm v0.0.0-20240409125451-b3f238780b01/go.mod h1:F+YVw4fjmuRImzDKacWxDZoC1G1enwpeSfvonAPgyLY=
github.com/werf/werf v1.2.308-0.20240411153803-0f37b66b1e68 h1:5L4hNcyhm3MAjQmXtUzby8dlK0rrZfh5vDQVNis0/6o=
github.com/werf/werf v1.2.308-0.20240411153803-0f37b66b1e68/go.mod h1:tp0Cjel4V3ZLi0biwmmAoTmO8HgmxFaaIqwiN8+0eeE=
github.com/werf/werf v1.2.308-0.20240412120428-f9e84f4ffd44 h1:Xya/CThH9qMJ2w6K8wLt3Zs6aR3D22Zifs5yRr3o6UI=
github.com/werf/werf v1.2.308-0.20240412120428-f9e84f4ffd44/go.mod h1:tp0Cjel4V3ZLi0biwmmAoTmO8HgmxFaaIqwiN8+0eeE=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
Expand Down

0 comments on commit 4a2e80a

Please sign in to comment.