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
0b501dd2
Commit
0b501dd2
authored
Mar 30, 2016
by
runseb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move old DM install to helm namespace and helm app label
parent
a2a5564c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
install.go
pkg/client/install.go
+25
-25
No files found.
pkg/client/install.go
View file @
0b501dd2
...
...
@@ -73,7 +73,7 @@ func (i *Installer) expand() ([]byte, error) {
func
IsInstalled
(
runner
kubectl
.
Runner
)
bool
{
// Basically, we test "all-or-nothing" here: if this returns without error
// we know that we have both the namespace and the manager API server.
out
,
err
:=
runner
.
GetByKind
(
"rc"
,
"manager-rc"
,
"
d
m"
)
out
,
err
:=
runner
.
GetByKind
(
"rc"
,
"manager-rc"
,
"
hel
m"
)
if
err
!=
nil
{
format
.
Err
(
"Installation not found: %s %s"
,
out
,
err
)
return
false
...
...
@@ -101,44 +101,44 @@ apiVersion: v1
kind: Namespace
metadata:
labels:
app:
d
m
name:
d
m-namespace
name:
d
m
app:
hel
m
name:
hel
m-namespace
name:
hel
m
---
apiVersion: v1
kind: Service
metadata:
labels:
app:
d
m
app:
hel
m
name: expandybird-service
name: expandybird-service
namespace:
d
m
namespace:
hel
m
spec:
ports:
- name: expandybird
port: 8081
targetPort: 8080
selector:
app:
d
m
app:
hel
m
name: expandybird
---
apiVersion: v1
kind: ReplicationController
metadata:
labels:
app:
d
m
app:
hel
m
name: expandybird-rc
name: expandybird-rc
namespace:
d
m
namespace:
hel
m
spec:
replicas: 2
selector:
app:
d
m
app:
hel
m
name: expandybird
template:
metadata:
labels:
app:
d
m
app:
hel
m
name: expandybird
spec:
containers:
...
...
@@ -153,36 +153,36 @@ apiVersion: v1
kind: Service
metadata:
labels:
app:
d
m
app:
hel
m
name: resourcifier-service
name: resourcifier-service
namespace:
d
m
namespace:
hel
m
spec:
ports:
- name: resourcifier
port: 8082
targetPort: 8080
selector:
app:
d
m
app:
hel
m
name: resourcifier
---
apiVersion: v1
kind: ReplicationController
metadata:
labels:
app:
d
m
app:
hel
m
name: resourcifier-rc
name: resourcifier-rc
namespace:
d
m
namespace:
hel
m
spec:
replicas: 2
selector:
app:
d
m
app:
hel
m
name: resourcifier
template:
metadata:
labels:
app:
d
m
app:
hel
m
name: resourcifier
spec:
containers:
...
...
@@ -197,36 +197,36 @@ apiVersion: v1
kind: Service
metadata:
labels:
app:
d
m
app:
hel
m
name: manager-service
name: manager-service
namespace:
d
m
namespace:
hel
m
spec:
ports:
- name: manager
port: 8080
targetPort: 8080
selector:
app:
d
m
app:
hel
m
name: manager
---
apiVersion: v1
kind: ReplicationController
metadata:
labels:
app:
d
m
app:
hel
m
name: manager-rc
name: manager-rc
namespace:
d
m
namespace:
hel
m
spec:
replicas: 1
selector:
app:
d
m
app:
hel
m
name: manager
template:
metadata:
labels:
app:
d
m
app:
hel
m
name: manager
spec:
containers:
...
...
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