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
2c3d45d1
Commit
2c3d45d1
authored
Aug 03, 2016
by
Matt Butcher
Committed by
GitHub
Aug 03, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1017 from pwittrock/deploy
Switch from rc to deployment for running tiller
parents
19a7127c
49644678
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
install.go
pkg/client/install.go
+3
-9
tunnel.go
pkg/kube/tunnel.go
+1
-1
No files found.
pkg/client/install.go
View file @
2c3d45d1
...
...
@@ -66,19 +66,13 @@ func Install(namespace, image string, verbose bool) error {
// InstallYAML is the installation YAML for DM.
const
InstallYAML
=
`
---
apiVersion:
v
1
kind:
ReplicationController
apiVersion:
extensions/v1beta
1
kind:
Deployment
metadata:
labels:
app: helm
name: tiller
name: tiller-rc
name: tiller-deploy
namespace: {{ .Namespace }}
spec:
replicas: 1
selector:
app: helm
name: tiller
template:
metadata:
labels:
...
...
pkg/kube/tunnel.go
View file @
2c3d45d1
...
...
@@ -51,7 +51,7 @@ func (c *Client) ForwardPort(namespace, podName string, remote int) (*Tunnel, er
}
// Build a url to the portforward endpoing
// example: http://localhost:8080/api/v1/namespaces/helm/pods/tiller-
rc
-9itlq/portforward
// example: http://localhost:8080/api/v1/namespaces/helm/pods/tiller-
deploy
-9itlq/portforward
u
:=
client
.
RESTClient
.
Post
()
.
Resource
(
"pods"
)
.
Namespace
(
namespace
)
.
...
...
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