Skip to content

Commit 995a062

Browse files
committed
Update k8s env
1 parent 975846b commit 995a062

16 files changed

+357
-1
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: mcs
5+
spec:
6+
replicas: 1
7+
selector:
8+
matchLabels:
9+
app: mcs
10+
template:
11+
metadata:
12+
labels:
13+
app: mcs
14+
spec:
15+
serviceAccountName: m3-sa
16+
containers:
17+
- name: mcs
18+
image: minio/mcs:latest
19+
imagePullPolicy: "IfNotPresent"
20+
args:
21+
- /mcs
22+
- server
23+
ports:
24+
- containerPort: 9090
25+
name: http
26+
- containerPort: 9433
27+
name: https
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
# beginning of customizations
4+
resources:
5+
- mcs-service-account.yaml
6+
- mcs-cluster-role.yaml
7+
- mcs-cluster-role-binding.yaml
8+
- mcs-configmap.yaml
9+
- mcs-service.yaml
10+
- mcs-deployment.yaml
11+
- minio-operator.yaml
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
kind: ClusterRoleBinding
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
metadata:
4+
name: mcs-sa-binding
5+
roleRef:
6+
apiGroup: rbac.authorization.k8s.io
7+
kind: ClusterRole
8+
name: mcs-sa-role
9+
subjects:
10+
- kind: ServiceAccount
11+
name: mcs-sa
12+
namespace: default

0 commit comments

Comments
 (0)