Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

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

-13
This file was deleted.

deploy/fullstack/controller/kustomization.yaml

-12
This file was deleted.

deploy/fullstack/controller/ns.yaml

-5
This file was deleted.

deploy/fullstack/kustomization.yaml

-7
This file was deleted.

deploy/fullstack/provisioner/kustomization.yaml

-11
This file was deleted.

deploy/fullstack/provisioner/ns.yaml

-5
This file was deleted.

kustomization.yaml

+14
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

+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:
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)