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
93f74d0c
Commit
93f74d0c
authored
Dec 15, 2015
by
vaikas-google
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bring back to par with master
parent
125bad99
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
8 deletions
+1
-8
dm.go
dm/dm.go
+1
-0
package.yaml
examples/package/package.yaml
+0
-4
expander.go
manager/manager/expander.go
+0
-4
No files found.
dm/dm.go
View file @
93f74d0c
...
@@ -214,6 +214,7 @@ func execute() {
...
@@ -214,6 +214,7 @@ func execute() {
// Type is most likely a primitive.
// Type is most likely a primitive.
tUrl
=
args
[
1
]
tUrl
=
args
[
1
]
}
else
{
}
else
{
// TODO(vaikas): Support packages properly.
tUrl
=
tUrls
[
0
]
tUrl
=
tUrls
[
0
]
}
}
path
:=
fmt
.
Sprintf
(
"types/%s/instances"
,
url
.
QueryEscape
(
tUrl
))
path
:=
fmt
.
Sprintf
(
"types/%s/instances"
,
url
.
QueryEscape
(
tUrl
))
...
...
examples/package/package.yaml
deleted
100644 → 0
View file @
125bad99
resources
:
-
name
:
cassandra
type
:
github.com/helm/charts/cassandra
properties
:
null
manager/manager/expander.go
View file @
93f74d0c
...
@@ -21,7 +21,6 @@ import (
...
@@ -21,7 +21,6 @@ import (
"encoding/json"
"encoding/json"
"fmt"
"fmt"
"io/ioutil"
"io/ioutil"
"log"
"net/http"
"net/http"
"github.com/ghodss/yaml"
"github.com/ghodss/yaml"
...
@@ -141,8 +140,6 @@ func (e *expander) ExpandTemplate(t *common.Template) (*ExpandedTemplate, error)
...
@@ -141,8 +140,6 @@ func (e *expander) ExpandTemplate(t *common.Template) (*ExpandedTemplate, error)
t
.
Imports
=
append
(
t
.
Imports
,
newImp
...
)
t
.
Imports
=
append
(
t
.
Imports
,
newImp
...
)
log
.
Printf
(
"Got Imports as %#v"
,
t
.
Imports
)
for
{
for
{
// Now expand with everything imported.
// Now expand with everything imported.
result
,
err
:=
e
.
expandTemplate
(
t
)
result
,
err
:=
e
.
expandTemplate
(
t
)
...
@@ -169,7 +166,6 @@ func (e *expander) ExpandTemplate(t *common.Template) (*ExpandedTemplate, error)
...
@@ -169,7 +166,6 @@ func (e *expander) ExpandTemplate(t *common.Template) (*ExpandedTemplate, error)
// If the new imports contain nothing, we are done. Everything is fully expanded.
// If the new imports contain nothing, we are done. Everything is fully expanded.
if
len
(
newImp
)
==
0
{
if
len
(
newImp
)
==
0
{
result
.
Layout
=
finalLayout
result
.
Layout
=
finalLayout
log
.
Printf
(
"Returning config as %#v"
,
result
)
return
result
,
nil
return
result
,
nil
}
}
...
...
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