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

View file

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

View file

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