Skip to content

Commit 8e846a7

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 d79d353 commit 8e846a7

File tree

10 files changed

+15
-53
lines changed

10 files changed

+15
-53
lines changed

deploy/base/kustomization.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

deploy/fullstack/controller/kustomization.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

deploy/fullstack/controller/ns.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

deploy/fullstack/kustomization.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

deploy/fullstack/provisioner/kustomization.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

deploy/fullstack/provisioner/ns.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

kustomization.yaml

Lines changed: 14 additions & 0 deletions
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

deploy/base/deployment.yaml renamed to resources/deployment.yaml

Lines changed: 1 addition & 0 deletions
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:
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)