Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
6ea146ae
Commit
6ea146ae
authored
Mar 15, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #302 from adamreese/helm-rename
fix(*): update import paths for helm repo naming
parents
c00a711b
1805e156
Show whitespace changes
Inline
Side-by-side
Showing
72 changed files
with
130 additions
and
130 deletions
+130
-130
README.md
README.md
+3
-3
circle.yml
circle.yml
+2
-2
dm.go
cmd/dm/dm.go
+2
-2
expander.go
cmd/expandybird/expander/expander.go
+1
-1
expander_test.go
cmd/expandybird/expander/expander_test.go
+2
-2
main.go
cmd/expandybird/main.go
+3
-3
service.go
cmd/expandybird/service/service.go
+3
-3
service_test.go
cmd/expandybird/service/service_test.go
+3
-3
chart_upload.go
cmd/helm/chart_upload.go
+2
-2
create.go
cmd/helm/create.go
+1
-1
delete.go
cmd/helm/delete.go
+1
-1
deploy.go
cmd/helm/deploy.go
+1
-1
dm.go
cmd/helm/dm.go
+3
-3
doctor.go
cmd/helm/doctor.go
+3
-3
get.go
cmd/helm/get.go
+1
-1
helm.go
cmd/helm/helm.go
+2
-2
list.go
cmd/helm/list.go
+1
-1
pack.go
cmd/helm/pack.go
+2
-2
release.go
cmd/helm/release.go
+1
-1
target.go
cmd/helm/target.go
+2
-2
deployments.go
cmd/manager/deployments.go
+9
-9
deployments_test.go
cmd/manager/deployments_test.go
+1
-1
main.go
cmd/manager/main.go
+2
-2
deployer.go
cmd/manager/manager/deployer.go
+1
-1
deployer_test.go
cmd/manager/manager/deployer_test.go
+2
-2
expander.go
cmd/manager/manager/expander.go
+1
-1
expander_test.go
cmd/manager/manager/expander_test.go
+2
-2
manager.go
cmd/manager/manager/manager.go
+4
-4
manager_test.go
cmd/manager/manager/manager_test.go
+2
-2
typeresolver.go
cmd/manager/manager/typeresolver.go
+3
-3
typeresolver_test.go
cmd/manager/manager/typeresolver_test.go
+2
-2
persistent.go
cmd/manager/repository/persistent/persistent.go
+2
-2
persistent_test.go
cmd/manager/repository/persistent/persistent_test.go
+1
-1
repository.go
cmd/manager/repository/repository.go
+1
-1
test_common.go
cmd/manager/repository/test_common.go
+1
-1
transient.go
cmd/manager/repository/transient/transient.go
+2
-2
transient_test.go
cmd/manager/repository/transient/transient_test.go
+1
-1
context.go
cmd/manager/router/context.go
+4
-4
router.go
cmd/manager/router/router.go
+1
-1
configurations.go
cmd/resourcifier/configurations.go
+3
-3
configurator.go
cmd/resourcifier/configurator/configurator.go
+2
-2
main.go
cmd/resourcifier/main.go
+2
-2
pushing.md
docs/pushing.md
+1
-1
registry.md
docs/templates/registry.md
+1
-1
glide.yaml
glide.yaml
+1
-1
README.md
hack/README.md
+4
-4
Vagrantfile
hack/Vagrantfile
+2
-2
dm-push.sh
hack/dm-push.sh
+1
-1
chart.go
pkg/chart/chart.go
+1
-1
chart_test.go
pkg/chart/chart_test.go
+1
-1
save.go
pkg/chart/save.go
+1
-1
client.go
pkg/client/client.go
+1
-1
client_test.go
pkg/client/client_test.go
+1
-1
install.go
pkg/client/install.go
+2
-2
uninstall.go
pkg/client/uninstall.go
+1
-1
filebased_credential_provider.go
pkg/registry/filebased_credential_provider.go
+1
-1
filebased_credential_provider_test.go
pkg/registry/filebased_credential_provider_test.go
+1
-1
gcs_registry.go
pkg/registry/gcs_registry.go
+2
-2
github_package_registry.go
pkg/registry/github_package_registry.go
+1
-1
github_registry.go
pkg/registry/github_registry.go
+2
-2
github_template_registry.go
pkg/registry/github_template_registry.go
+1
-1
inmem_credential_provider.go
pkg/registry/inmem_credential_provider.go
+1
-1
inmem_credential_provider_test.go
pkg/registry/inmem_credential_provider_test.go
+1
-1
inmem_registry_service.go
pkg/registry/inmem_registry_service.go
+2
-2
registry.go
pkg/registry/registry.go
+2
-2
registryprovider.go
pkg/registry/registryprovider.go
+2
-2
secrets_credential_provider.go
pkg/registry/secrets_credential_provider.go
+2
-2
testhelper.go
pkg/registry/testhelper.go
+2
-2
kubernetesutil.go
pkg/util/kubernetesutil.go
+1
-1
kubernetesutil_test.go
pkg/util/kubernetesutil_test.go
+1
-1
templateutil.go
pkg/util/templateutil.go
+1
-1
build-go.sh
scripts/build-go.sh
+1
-1
No files found.
README.md
View file @
6ea146ae
# Deployment Manager
[
![Circle CI
](
https://circleci.com/gh/kubernetes/
deployment-manager.svg?style=svg
)
](https://circleci.com/gh/kubernetes/deployment-manager)
[
![Go Report Card
](
http://goreportcard.com/badge/kubernetes/deployment-manager
)
](http://goreportcard.com/report/kubernetes/deployment-manager
)
[
![Circle CI
](
https://circleci.com/gh/kubernetes/
helm.svg?style=svg
)
](https://circleci.com/gh/kubernetes/helm)
[
![Go Report Card
](
http://goreportcard.com/badge/kubernetes/helm
)
](http://goreportcard.com/report/kubernetes/helm
)
Deployment Manager (DM)
`dm`
makes it easy to create, describe, update and
delete Kubernetes resources using declarative configuration. A configuration is
...
...
@@ -63,13 +63,13 @@ for the Kubernetes configuration SIG.
## Installing Deployment Manager
Note: if you're exploring or using the project, you'll probably want to pull
(the latest release)
[
https://github.com/kubernetes/
deployment-manager/releases/latest
]
,
(the latest release)
[
https://github.com/kubernetes/
helm/releases/latest
]
,
since there may be undiscovered or unresolved issues at HEAD.
From a Linux or Mac OS X client:
```
curl -s https://raw.githubusercontent.com/kubernetes/
deployment-manager
/master/get-install.sh | sh
curl -s https://raw.githubusercontent.com/kubernetes/
helm
/master/get-install.sh | sh
```
and then install the DM services into your Kubernetes cluster:
...
...
circle.yml
View file @
6ea146ae
...
...
@@ -4,14 +4,14 @@ machine:
GO15VENDOREXPERIMENT
:
1
GOPATH
:
/usr/local/go_workspace
HOME
:
/home/ubuntu
IMPORT_PATH
:
"
github.com/kubernetes/
deployment-manager
"
IMPORT_PATH
:
"
github.com/kubernetes/
helm
"
dependencies
:
override
:
-
sudo chown -R $(whoami):staff /usr/local
-
cd $GOPATH
-
mkdir -p $GOPATH/src/$IMPORT_PATH
-
cd $HOME/
deployment-manager
-
cd $HOME/
helm
-
rsync -az --delete ./ "$GOPATH/src/$IMPORT_PATH/"
-
wget "https://github.com/Masterminds/glide/releases/download/$GLIDE_VERSION/glide-$GLIDE_VERSION-linux-amd64.tar.gz"
-
mkdir -p $HOME/bin
...
...
cmd/dm/dm.go
View file @
6ea146ae
...
...
@@ -19,8 +19,8 @@ package main
import
(
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"archive/tar"
"bytes"
...
...
cmd/expandybird/expander/expander.go
View file @
6ea146ae
...
...
@@ -24,7 +24,7 @@ import (
"os/exec"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
// Expander abstracts interactions with the expander and deployer services.
...
...
cmd/expandybird/expander/expander_test.go
View file @
6ea146ae
...
...
@@ -26,8 +26,8 @@ import (
"strings"
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
)
var
importFileNames
=
[]
string
{
...
...
cmd/expandybird/main.go
View file @
6ea146ae
...
...
@@ -17,9 +17,9 @@ limitations under the License.
package
main
import
(
"github.com/kubernetes/
deployment-manager
/cmd/expandybird/expander"
"github.com/kubernetes/
deployment-manager
/cmd/expandybird/service"
"github.com/kubernetes/
deployment-manager
/pkg/version"
"github.com/kubernetes/
helm
/cmd/expandybird/expander"
"github.com/kubernetes/
helm
/cmd/expandybird/service"
"github.com/kubernetes/
helm
/pkg/version"
"flag"
"fmt"
...
...
cmd/expandybird/service/service.go
View file @
6ea146ae
...
...
@@ -17,9 +17,9 @@ limitations under the License.
package
service
import
(
"github.com/kubernetes/
deployment-manager
/cmd/expandybird/expander"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/cmd/expandybird/expander"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"errors"
"fmt"
...
...
cmd/expandybird/service/service_test.go
View file @
6ea146ae
...
...
@@ -26,9 +26,9 @@ import (
"reflect"
"testing"
"github.com/kubernetes/
deployment-manager
/cmd/expandybird/expander"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/cmd/expandybird/expander"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
restful
"github.com/emicklei/go-restful"
)
...
...
cmd/helm/chart_upload.go
View file @
6ea146ae
...
...
@@ -25,8 +25,8 @@ import (
"github.com/aokoli/goutils"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/chart"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
helm
/pkg/chart"
"github.com/kubernetes/
helm
/pkg/format"
)
func
uploadChart
(
c
*
cli
.
Context
)
error
{
...
...
cmd/helm/create.go
View file @
6ea146ae
...
...
@@ -21,7 +21,7 @@ import (
"path/filepath"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/chart"
"github.com/kubernetes/
helm
/pkg/chart"
)
func
init
()
{
...
...
cmd/helm/delete.go
View file @
6ea146ae
...
...
@@ -20,7 +20,7 @@ import (
"errors"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
helm
/pkg/format"
)
func
init
()
{
...
...
cmd/helm/deploy.go
View file @
6ea146ae
...
...
@@ -21,7 +21,7 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
"gopkg.in/yaml.v2"
)
...
...
cmd/helm/dm.go
View file @
6ea146ae
...
...
@@ -21,9 +21,9 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/client"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
deployment-manager
/pkg/kubectl"
"github.com/kubernetes/
helm
/pkg/client"
"github.com/kubernetes/
helm
/pkg/format"
"github.com/kubernetes/
helm
/pkg/kubectl"
)
// ErrAlreadyInstalled indicates that DM is already installed.
...
...
cmd/helm/doctor.go
View file @
6ea146ae
...
...
@@ -18,9 +18,9 @@ package main
import
(
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/client"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
deployment-manager
/pkg/kubectl"
"github.com/kubernetes/
helm
/pkg/client"
"github.com/kubernetes/
helm
/pkg/format"
"github.com/kubernetes/
helm
/pkg/kubectl"
)
func
init
()
{
...
...
cmd/helm/get.go
View file @
6ea146ae
...
...
@@ -20,7 +20,7 @@ import (
"errors"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
helm
/pkg/format"
)
func
init
()
{
...
...
cmd/helm/helm.go
View file @
6ea146ae
...
...
@@ -20,8 +20,8 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/client"
"github.com/kubernetes/
deployment-manager
/pkg/version"
"github.com/kubernetes/
helm
/pkg/client"
"github.com/kubernetes/
helm
/pkg/version"
)
var
commands
[]
cli
.
Command
...
...
cmd/helm/list.go
View file @
6ea146ae
...
...
@@ -18,7 +18,7 @@ package main
import
(
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
helm
/pkg/format"
)
func
init
()
{
...
...
cmd/helm/pack.go
View file @
6ea146ae
...
...
@@ -22,8 +22,8 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/chart"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
helm
/pkg/chart"
"github.com/kubernetes/
helm
/pkg/format"
)
func
init
()
{
...
...
cmd/helm/release.go
View file @
6ea146ae
...
...
@@ -21,7 +21,7 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
helm
/pkg/format"
)
func
init
()
{
...
...
cmd/helm/target.go
View file @
6ea146ae
...
...
@@ -19,8 +19,8 @@ package main
import
(
"fmt"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
deployment-manager
/pkg/kubectl"
"github.com/kubernetes/
helm
/pkg/format"
"github.com/kubernetes/
helm
/pkg/kubectl"
)
func
target
(
dryRun
bool
)
error
{
...
...
cmd/manager/deployments.go
View file @
6ea146ae
...
...
@@ -32,15 +32,15 @@ import (
"github.com/ghodss/yaml"
"github.com/gorilla/mux"
"github.com/kubernetes/
deployment-manager
/cmd/manager/manager"
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository"
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository/persistent"
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository/transient"
"github.com/kubernetes/
deployment-manager
/cmd/manager/router"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/httputil"
"github.com/kubernetes/
deployment-manager
/pkg/registry"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/cmd/manager/manager"
"github.com/kubernetes/
helm
/cmd/manager/repository"
"github.com/kubernetes/
helm
/cmd/manager/repository/persistent"
"github.com/kubernetes/
helm
/cmd/manager/repository/transient"
"github.com/kubernetes/
helm
/cmd/manager/router"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/httputil"
"github.com/kubernetes/
helm
/pkg/registry"
"github.com/kubernetes/
helm
/pkg/util"
)
var
deployments
=
[]
Route
{
...
...
cmd/manager/deployments_test.go
View file @
6ea146ae
...
...
@@ -5,7 +5,7 @@ import (
"net/http/httptest"
"testing"
"github.com/kubernetes/
deployment-manager
/cmd/manager/router"
"github.com/kubernetes/
helm
/cmd/manager/router"
)
func
TestHealthz
(
t
*
testing
.
T
)
{
...
...
cmd/manager/main.go
View file @
6ea146ae
...
...
@@ -17,8 +17,8 @@ limitations under the License.
package
main
import
(
"github.com/kubernetes/
deployment-manager
/cmd/manager/router"
"github.com/kubernetes/
deployment-manager
/pkg/version"
"github.com/kubernetes/
helm
/cmd/manager/router"
"github.com/kubernetes/
helm
/pkg/version"
"flag"
"fmt"
...
...
cmd/manager/manager/deployer.go
View file @
6ea146ae
...
...
@@ -28,7 +28,7 @@ import (
"time"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
// Deployer abstracts interactions with the expander and deployer services.
...
...
cmd/manager/manager/deployer_test.go
View file @
6ea146ae
...
...
@@ -26,8 +26,8 @@ import (
"strings"
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"github.com/ghodss/yaml"
)
...
...
cmd/manager/manager/expander.go
View file @
6ea146ae
...
...
@@ -24,7 +24,7 @@ import (
"net/http"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
const
(
...
...
cmd/manager/manager/expander_test.go
View file @
6ea146ae
...
...
@@ -26,8 +26,8 @@ import (
"strings"
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"github.com/ghodss/yaml"
)
...
...
cmd/manager/manager/manager.go
View file @
6ea146ae
...
...
@@ -24,10 +24,10 @@ import (
"strings"
"time"
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/registry"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/cmd/manager/repository"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/registry"
"github.com/kubernetes/
helm
/pkg/util"
)
// Manager manages a persistent set of Deployments.
...
...
cmd/manager/manager/manager_test.go
View file @
6ea146ae
...
...
@@ -22,8 +22,8 @@ import (
"strings"
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/registry"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/registry"
)
var
template
=
common
.
Template
{
Name
:
"test"
,
Content
:
"test"
}
...
...
cmd/manager/manager/typeresolver.go
View file @
6ea146ae
...
...
@@ -20,9 +20,9 @@ import (
"fmt"
"net/http"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/registry"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/registry"
"github.com/kubernetes/
helm
/pkg/util"
"github.com/ghodss/yaml"
)
...
...
cmd/manager/manager/typeresolver_test.go
View file @
6ea146ae
...
...
@@ -24,8 +24,8 @@ import (
"testing"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/registry"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/registry"
)
type
responseAndError
struct
{
...
...
cmd/manager/repository/persistent/persistent.go
View file @
6ea146ae
...
...
@@ -25,8 +25,8 @@ import (
"os"
"time"
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/cmd/manager/repository"
"github.com/kubernetes/
helm
/pkg/common"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
...
...
cmd/manager/repository/persistent/persistent_test.go
View file @
6ea146ae
...
...
@@ -14,7 +14,7 @@ limitations under the License.
package
persistent
import
(
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository"
"github.com/kubernetes/
helm
/cmd/manager/repository"
"sync"
"testing"
...
...
cmd/manager/repository/repository.go
View file @
6ea146ae
...
...
@@ -18,7 +18,7 @@ limitations under the License.
package
repository
import
(
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
// Repository manages storage for all Deployment Manager entities, as well as
...
...
cmd/manager/repository/test_common.go
View file @
6ea146ae
...
...
@@ -17,7 +17,7 @@ limitations under the License.
package
repository
import
(
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
"fmt"
"testing"
...
...
cmd/manager/repository/transient/transient.go
View file @
6ea146ae
...
...
@@ -23,8 +23,8 @@ import (
"sync"
"time"
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/cmd/manager/repository"
"github.com/kubernetes/
helm
/pkg/common"
)
// deploymentTypeInstanceMap stores type instances mapped by deployment name.
...
...
cmd/manager/repository/transient/transient_test.go
View file @
6ea146ae
...
...
@@ -14,7 +14,7 @@ limitations under the License.
package
transient
import
(
"github.com/kubernetes/
deployment-manager
/cmd/manager/repository"
"github.com/kubernetes/
helm
/cmd/manager/repository"
"testing"
)
...
...
cmd/manager/router/context.go
View file @
6ea146ae
package
router
import
(
"github.com/kubernetes/
deployment-manager
/cmd/manager/manager"
"github.com/kubernetes/
deployment-manager
/pkg/common"
helmhttp
"github.com/kubernetes/
deployment-manager
/pkg/httputil"
"github.com/kubernetes/
helm
/cmd/manager/manager"
"github.com/kubernetes/
helm
/pkg/common"
helmhttp
"github.com/kubernetes/
helm
/pkg/httputil"
)
// Config holds the global configuration parameters passed into the router.
...
...
@@ -44,7 +44,7 @@ type Config struct {
// Members of the context must be concurrency safe.
type
Context
struct
{
Config
*
Config
// Manager is a
deployment-manager
/manager/manager.Manager
// Manager is a
helm
/manager/manager.Manager
Manager
manager
.
Manager
Encoder
helmhttp
.
Encoder
CredentialProvider
common
.
CredentialProvider
...
...
cmd/manager/router/router.go
View file @
6ea146ae
...
...
@@ -33,7 +33,7 @@ import (
"net/http"
"github.com/Masterminds/httputil"
helmhttp
"github.com/kubernetes/
deployment-manager
/pkg/httputil"
helmhttp
"github.com/kubernetes/
helm
/pkg/httputil"
)
// HandlerFunc responds to an individual HTTP request.
...
...
cmd/resourcifier/configurations.go
View file @
6ea146ae
...
...
@@ -17,9 +17,9 @@ limitations under the License.
package
main
import
(
"github.com/kubernetes/
deployment-manager
/cmd/resourcifier/configurator"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/cmd/resourcifier/configurator"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"encoding/json"
"errors"
...
...
cmd/resourcifier/configurator/configurator.go
View file @
6ea146ae
...
...
@@ -23,8 +23,8 @@ import (
"strings"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
)
// Configurator configures a Kubernetes cluster using kubectl.
...
...
cmd/resourcifier/main.go
View file @
6ea146ae
...
...
@@ -25,8 +25,8 @@ import (
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
deployment-manager
/pkg/version"
"github.com/kubernetes/
helm
/pkg/util"
"github.com/kubernetes/
helm
/pkg/version"
)
// Route defines a routing table entry to be registered with gorilla/mux.
...
...
docs/pushing.md
View file @
6ea146ae
...
...
@@ -16,7 +16,7 @@ In order to build and push DM, you must:
To build and push the service containers:
```
$ cd ${GOPATH}/src/github.com/kubernetes/
deployment-manager
$ cd ${GOPATH}/src/github.com/kubernetes/
helm
$ export PROJECT=dm-k8s-prod
$ make push
```
...
...
docs/templates/registry.md
View file @
6ea146ae
...
...
@@ -115,7 +115,7 @@ In this example, `templateA` is a template directory, and `v1`, `v1.01`, and
### Registry based template references
In general,
[
templates references
](
https://github.com/kubernetes/
deployment-manager
/blob/master/docs/design/design.md#template-references
)
[
templates references
](
https://github.com/kubernetes/
helm
/blob/master/docs/design/design.md#template-references
)
are just URLs to HTTP endpoints. However, because a template registry follows
the conventions outlined above, references to templates in a template registry
can be shorter and simpler than generalized template references.
...
...
glide.yaml
View file @
6ea146ae
package
:
github.com/kubernetes/
deployment-manager
package
:
github.com/kubernetes/
helm
ignore
:
-
google.golang.com/appengine
import
:
...
...
hack/README.md
View file @
6ea146ae
...
...
@@ -7,18 +7,18 @@ Collection of convenience scripts
A Vagrantfile to create a standalone build environment for helm.
It is handy if you do not have Golang and the dependencies used by Helm on your local machine.
$ git clone https://github.com/kubernetes/
deployment-manager
.git
$ cd
deployment-manager
/hack
$ git clone https://github.com/kubernetes/
helm
.git
$ cd
helm
/hack
$ vagrant up
Once the machine is up, you can SSH to it and start a new build of helm
$ vagrant ssh
$ cd src/github.com/kubernetes/
deployment-manager
$ cd src/github.com/kubernetes/
helm
$ make build
[dm-push.sh](dm-push.sh)
------------------------
Run this from
deployment-manager
root to build and push the dm client plus
Run this from
helm
root to build and push the dm client plus
kubernetes install config into the publicly readable GCS bucket gs://get-dm.
hack/Vagrantfile
View file @
6ea146ae
...
...
@@ -20,7 +20,7 @@ curl -L https://storage.googleapis.com/golang/go#{GO_VERSION}.linux-amd64.tar.gz
tar -C /usr/local -xzf go
#{
GO_VERSION
}
.linux-amd64.tar.gz
wget "https://github.com/Masterminds/glide/releases/download/
#{
GLIDE_VERSION
}
/glide-
#{
GLIDE_VERSION
}
-linux-amd64.tar.gz"
su vagrant -c "mkdir -p /home/vagrant/bin"
su vagrant -c "mkdir -p /home/vagrant/src/github.com/kubernetes/
deployment-manager
"
su vagrant -c "mkdir -p /home/vagrant/src/github.com/kubernetes/
helm
"
chgrp vagrant -R /home/vagrant/src
chown vagrant -R /home/vagrant/src
su vagrant -c "tar -vxz -C /home/vagrant/bin --strip=1 -f glide-
#{
GLIDE_VERSION
}
-linux-amd64.tar.gz"
...
...
@@ -40,7 +40,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
"2048"
]
end
config
.
vm
.
synced_folder
"../"
,
"/home/vagrant/src/github.com/kubernetes/
deployment-manager
"
config
.
vm
.
synced_folder
"../"
,
"/home/vagrant/src/github.com/kubernetes/
helm
"
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
disabled:
true
config
.
vm
.
provision
:shell
,
inline:
$bootstrap
...
...
hack/dm-push.sh
View file @
6ea146ae
...
...
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Run this from
deployment-manager
root to build and push the dm client plus
# Run this from
helm
root to build and push the dm client plus
# kubernetes install config into the publicly readable GCS bucket gs://get-dm.
#
# Must have EDIT permissions on the dm-k8s-prod GCP project.
...
...
pkg/chart/chart.go
View file @
6ea146ae
...
...
@@ -28,7 +28,7 @@ import (
"path/filepath"
"strings"
"github.com/kubernetes/
deployment-manager
/pkg/log"
"github.com/kubernetes/
helm
/pkg/log"
)
// ChartfileName is the default Chart file name.
...
...
pkg/chart/chart_test.go
View file @
6ea146ae
...
...
@@ -21,7 +21,7 @@ import (
"path/filepath"
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/log"
"github.com/kubernetes/
helm
/pkg/log"
)
const
(
...
...
pkg/chart/save.go
View file @
6ea146ae
...
...
@@ -24,7 +24,7 @@ import (
"os"
"path/filepath"
"github.com/kubernetes/
deployment-manager
/pkg/log"
"github.com/kubernetes/
helm
/pkg/log"
)
// Save creates an archived chart to the given directory.
...
...
pkg/client/client.go
View file @
6ea146ae
...
...
@@ -31,7 +31,7 @@ import (
"time"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
// DefaultHTTPTimeout is the default HTTP timeout.
...
...
pkg/client/client_test.go
View file @
6ea146ae
...
...
@@ -23,7 +23,7 @@ import (
"strings"
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
func
TestDefaultServerURL
(
t
*
testing
.
T
)
{
...
...
pkg/client/install.go
View file @
6ea146ae
...
...
@@ -21,8 +21,8 @@ import (
"text/template"
"github.com/Masterminds/sprig"
"github.com/kubernetes/
deployment-manager
/pkg/format"
"github.com/kubernetes/
deployment-manager
/pkg/kubectl"
"github.com/kubernetes/
helm
/pkg/format"
"github.com/kubernetes/
helm
/pkg/kubectl"
)
// Installer is capable of installing DM into Kubernetes.
...
...
pkg/client/uninstall.go
View file @
6ea146ae
...
...
@@ -17,7 +17,7 @@ limitations under the License.
package
client
import
(
"github.com/kubernetes/
deployment-manager
/pkg/kubectl"
"github.com/kubernetes/
helm
/pkg/kubectl"
)
// Uninstall uses kubectl to uninstall the base DM.
...
...
pkg/registry/filebased_credential_provider.go
View file @
6ea146ae
...
...
@@ -22,7 +22,7 @@ import (
"log"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
// FilebasedCredentialProvider provides credentials for registries.
...
...
pkg/registry/filebased_credential_provider_test.go
View file @
6ea146ae
...
...
@@ -19,7 +19,7 @@ package registry
import
(
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
var
filename
=
"./test/test_credentials_file.yaml"
...
...
pkg/registry/gcs_registry.go
View file @
6ea146ae
...
...
@@ -17,8 +17,8 @@ limitations under the License.
package
registry
import
(
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
// "golang.org/x/net/context"
// "golang.org/x/oauth2/google"
...
...
pkg/registry/github_package_registry.go
View file @
6ea146ae
...
...
@@ -18,7 +18,7 @@ package registry
import
(
"github.com/google/go-github/github"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
"fmt"
"log"
...
...
pkg/registry/github_registry.go
View file @
6ea146ae
...
...
@@ -18,8 +18,8 @@ package registry
import
(
"github.com/google/go-github/github"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"fmt"
"net/http"
...
...
pkg/registry/github_template_registry.go
View file @
6ea146ae
...
...
@@ -18,7 +18,7 @@ package registry
import
(
"github.com/google/go-github/github"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
"fmt"
"log"
...
...
pkg/registry/inmem_credential_provider.go
View file @
6ea146ae
...
...
@@ -17,7 +17,7 @@ limitations under the License.
package
registry
import
(
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
"fmt"
)
...
...
pkg/registry/inmem_credential_provider_test.go
View file @
6ea146ae
...
...
@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
type
testCase
struct
{
...
...
pkg/registry/inmem_registry_service.go
View file @
6ea146ae
...
...
@@ -17,8 +17,8 @@ limitations under the License.
package
registry
import
(
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"fmt"
"strings"
...
...
pkg/registry/registry.go
View file @
6ea146ae
...
...
@@ -17,8 +17,8 @@ limitations under the License.
package
registry
import
(
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"fmt"
"net/url"
...
...
pkg/registry/registryprovider.go
View file @
6ea146ae
...
...
@@ -18,8 +18,8 @@ package registry
import
(
"github.com/google/go-github/github"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
storage
"google.golang.org/api/storage/v1"
...
...
pkg/registry/secrets_credential_provider.go
View file @
6ea146ae
...
...
@@ -24,8 +24,8 @@ import (
"log"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
)
var
(
...
...
pkg/registry/testhelper.go
View file @
6ea146ae
...
...
@@ -22,8 +22,8 @@ import (
"bytes"
"io/ioutil"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
deployment-manager
/pkg/util"
"github.com/kubernetes/
helm
/pkg/common"
"github.com/kubernetes/
helm
/pkg/util"
"fmt"
"net/http"
...
...
pkg/util/kubernetesutil.go
View file @
6ea146ae
...
...
@@ -21,7 +21,7 @@ import (
"time"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
// ParseKubernetesObject parses a Kubernetes API object in YAML format.
...
...
pkg/util/kubernetesutil_test.go
View file @
6ea146ae
...
...
@@ -23,7 +23,7 @@ import (
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
var
serviceInput
=
`
...
...
pkg/util/templateutil.go
View file @
6ea146ae
...
...
@@ -26,7 +26,7 @@ import (
"path/filepath"
"github.com/ghodss/yaml"
"github.com/kubernetes/
deployment-manager
/pkg/common"
"github.com/kubernetes/
helm
/pkg/common"
)
// NewTemplateFromType creates and returns a new template whose content
...
...
scripts/build-go.sh
View file @
6ea146ae
...
...
@@ -18,7 +18,7 @@ set -o pipefail
[[
"
$TRACE
"
]]
&&
set
-x
readonly
REPO
=
github.com/kubernetes/
deployment-manager
readonly
REPO
=
github.com/kubernetes/
helm
readonly
DIR
=
"
${
GOPATH
}
/src/
${
REPO
}
"
source
"
${
DIR
}
/scripts/common.sh"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment