This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into kubectl-deploy-to-e…
…ks-in-a-box
- Loading branch information
Showing
117 changed files
with
6,079 additions
and
801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resources: | ||
- deployment.yaml | ||
- service.yaml |
2 changes: 2 additions & 0 deletions
2
.../expected/overlays/ship/kustomization.yml → ...expected/overlays/ship/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
bases: | ||
- ../../base | ||
patches: | ||
- /templates/deployment.yaml |
3 changes: 3 additions & 0 deletions
3
integration/update/modify-chart/expected/base/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resources: | ||
- deployment.yaml | ||
- service.yaml |
2 changes: 2 additions & 0 deletions
2
.../expected/overlays/ship/kustomization.yml → ...expected/overlays/ship/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
bases: | ||
- ../../base | ||
patches: | ||
- /templates/deployment.yaml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package cli | ||
|
||
import ( | ||
"context" | ||
|
||
_ "github.com/kubernetes-sigs/kustomize/pkg/app" | ||
_ "github.com/kubernetes-sigs/kustomize/pkg/fs" | ||
_ "github.com/kubernetes-sigs/kustomize/pkg/loader" | ||
_ "github.com/kubernetes-sigs/kustomize/pkg/resmap" | ||
"github.com/replicatedhq/ship/pkg/ship" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func Watch() *cobra.Command { | ||
cmd := &cobra.Command{ | ||
Use: "watch", | ||
Short: "Watch an upstream for updates", | ||
Long: `Watch will poll the upstream source for changes, and block until a | ||
change has been published. The watch command will return with an exit code | ||
of 0 when there's an update available.`, | ||
RunE: func(cmd *cobra.Command, args []string) error { | ||
s, err := ship.Get() | ||
if err != nil { | ||
return err | ||
} | ||
|
||
s.WatchAndExit(context.Background()) | ||
return nil | ||
}, | ||
} | ||
|
||
return cmd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
package filetree | ||
|
||
type Node struct { | ||
Children []Node `json:"children" yaml:"children"` | ||
Name string `json:"name" yaml:"name"` | ||
Path string `json:"path" yaml:"path"` | ||
HasOverlay bool `json:"hasOverlay,omitempty" yaml:"hasOverlay,omitempty"` | ||
Children []Node `json:"children" yaml:"children"` | ||
Name string `json:"name" yaml:"name"` | ||
Path string `json:"path" yaml:"path"` | ||
HasOverlay bool `json:"hasOverlay" yaml:"hasOverlay"` | ||
IsSupported bool `json:"isSupported" yaml:"isSupported"` | ||
} |
Oops, something went wrong.