Deploy to kube-system by default

This commit is contained in:
Cyrill Troxler 2019-05-18 11:43:12 +02:00
parent e133baaba1
commit a0902d86a0
4 changed files with 8 additions and 3 deletions

View file

@ -1,8 +1,8 @@
---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: csi-attacher-sa name: csi-attacher-sa
namespace: kube-system
--- ---
kind: ClusterRole kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
@ -43,6 +43,7 @@ kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: csi-attacher-s3 name: csi-attacher-s3
namespace: kube-system
labels: labels:
app: csi-attacher-s3 app: csi-attacher-s3
spec: spec:
@ -56,6 +57,7 @@ kind: StatefulSet
apiVersion: apps/v1beta1 apiVersion: apps/v1beta1
metadata: metadata:
name: csi-attacher-s3 name: csi-attacher-s3
namespace: kube-system
spec: spec:
serviceName: "csi-attacher-s3" serviceName: "csi-attacher-s3"
replicas: 1 replicas: 1

View file

@ -1,8 +1,8 @@
---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: csi-s3 name: csi-s3
namespace: kube-system
--- ---
kind: ClusterRole kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
@ -42,6 +42,7 @@ kind: DaemonSet
apiVersion: apps/v1beta2 apiVersion: apps/v1beta2
metadata: metadata:
name: csi-s3 name: csi-s3
namespace: kube-system
spec: spec:
selector: selector:
matchLabels: matchLabels:

View file

@ -1,8 +1,8 @@
---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: csi-provisioner-sa name: csi-provisioner-sa
namespace: kube-system
--- ---
kind: ClusterRole kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
@ -42,6 +42,7 @@ kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: csi-provisioner-s3 name: csi-provisioner-s3
namespace: kube-system
labels: labels:
app: csi-provisioner-s3 app: csi-provisioner-s3
spec: spec:
@ -55,6 +56,7 @@ kind: StatefulSet
apiVersion: apps/v1beta1 apiVersion: apps/v1beta1
metadata: metadata:
name: csi-provisioner-s3 name: csi-provisioner-s3
namespace: kube-system
spec: spec:
serviceName: "csi-provisioner-s3" serviceName: "csi-provisioner-s3"
replicas: 1 replicas: 1