Skip to content

Commit e728f50

Browse files
committed
Refactor Kustomize templates
This PR removes the fullstack kustomize template and simplifies the base deploy of controller. Kustomize will now only deploy controller resources.
1 parent 1bdbe67 commit e728f50

File tree

10 files changed

+15
-53
lines changed

10 files changed

+15
-53
lines changed

Diff for: container-object-storage-interface-controller/deploy/base/kustomization.yaml

-13
This file was deleted.

Diff for: container-object-storage-interface-controller/deploy/fullstack/controller/kustomization.yaml

-12
This file was deleted.

Diff for: container-object-storage-interface-controller/deploy/fullstack/controller/ns.yaml

-5
This file was deleted.

Diff for: container-object-storage-interface-controller/deploy/fullstack/kustomization.yaml

-7
This file was deleted.

Diff for: container-object-storage-interface-controller/deploy/fullstack/provisioner/kustomization.yaml

-11
This file was deleted.

Diff for: container-object-storage-interface-controller/deploy/fullstack/provisioner/ns.yaml

-5
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
5+
commonLabels:
6+
app.kubernetes.io/part-of: container-object-storage-interface
7+
app.kubernetes.io/component: controller
8+
app.kubernetes.io/version: main
9+
app.kubernetes.io/name: container-object-storage-interface-controller
10+
11+
resources:
12+
- resources/sa.yaml
13+
- resources/rbac.yaml
14+
- resources/deployment.yaml

Diff for: container-object-storage-interface-controller/deploy/base/deployment.yaml renamed to container-object-storage-interface-controller/resources/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spec:
1818
matchLabels:
1919
app.kubernetes.io/part-of: container-object-storage-interface
2020
app.kubernetes.io/component: controller
21+
app.kubernetes.io/version: main
2122
app.kubernetes.io/name: container-object-storage-interface-controller
2223
template:
2324
metadata:

0 commit comments

Comments
 (0)