Skip to content

Commit c6e2a57

Browse files
authored
Merge pull request #39 from fluxcd/deploy-config
deploy: reusable config
2 parents f469418 + 7ef9218 commit c6e2a57

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

config/default/kustomization.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
namespace: source-system
4-
namePrefix: source-
54
bases:
65
- ../crd
76
- ../rbac
87
- ../manager
8+
resources:
9+
- namespace.yaml

config/manager/namespace.yaml renamed to config/default/namespace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ kind: Namespace
33
metadata:
44
labels:
55
control-plane: controller
6-
name: system
6+
name: source-system

config/manager/deployment.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: controller
5-
namespace: system
4+
name: source-controller
65
labels:
76
control-plane: controller
87
spec:

config/manager/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- namespace.yaml
54
- service.yaml
65
- deployment.yaml
76
images:

config/manager/service.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: controller
5-
namespace: system
4+
name: source-controller
65
labels:
76
control-plane: controller
87
spec:

config/rbac/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
3+
namePrefix: source-
34
resources:
45
- role.yaml
56
- role_binding.yaml

0 commit comments

Comments
 (0)