Skip to content

Commit

Permalink
fix(deploy): update namespace from dothill to kube-system
Browse files Browse the repository at this point in the history
  • Loading branch information
arcln committed May 14, 2019
1 parent a27d71b commit 79142d6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions deploy/clusterrole.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: dothill-provisioner
namespace: dothill
namespace: kube-system

rules:
- apiGroups: [""]
Expand Down
2 changes: 1 addition & 1 deletion deploy/clusterrolebinding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: dothill-provisioner
namespace: dothill
namespace: kube-system
roleRef:
kind: ClusterRole
name: dothill-provisioner
Expand Down
4 changes: 3 additions & 1 deletion deploy/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: dothill-provisioner
namespace: dothill
namespace: kube-system

spec:
replicas: 1
Expand All @@ -13,9 +13,11 @@ spec:
labels:
app: dothill-provisioner
spec:
imagePullPolicy: always
imagePullSecrets:
- name: regcred
containers:
- name: dothill-provisioner
image: docker-registry.enix.io/enix/dothill-provisioner:rc
command: ["/usr/local/bin/dothill-provisioner", "-v", "1"]
serviceAccount: dothill-provisioner
2 changes: 1 addition & 1 deletion deploy/role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: dothill-provisioner
namespace: dothill
namespace: kube-system

rules:
- apiGroups: [""]
Expand Down
2 changes: 1 addition & 1 deletion deploy/rolebinding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: dothill-provisioner
namespace: dothill
namespace: kube-system

roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
2 changes: 1 addition & 1 deletion deploy/serviceaccount.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: dothill-provisioner
namespace: dothill
namespace: kube-system

0 comments on commit 79142d6

Please sign in to comment.