deploy: reusable config
This commit is contained in:
parent
f469418dcd
commit
7ef9218de9
|
@ -1,8 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: source-system
|
||||
namePrefix: source-
|
||||
bases:
|
||||
- ../crd
|
||||
- ../rbac
|
||||
- ../manager
|
||||
resources:
|
||||
- namespace.yaml
|
||||
|
|
|
@ -3,4 +3,4 @@ kind: Namespace
|
|||
metadata:
|
||||
labels:
|
||||
control-plane: controller
|
||||
name: system
|
||||
name: source-system
|
|
@ -1,8 +1,7 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: controller
|
||||
namespace: system
|
||||
name: source-controller
|
||||
labels:
|
||||
control-plane: controller
|
||||
spec:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- service.yaml
|
||||
- deployment.yaml
|
||||
images:
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: controller
|
||||
namespace: system
|
||||
name: source-controller
|
||||
labels:
|
||||
control-plane: controller
|
||||
spec:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namePrefix: source-
|
||||
resources:
|
||||
- role.yaml
|
||||
- role_binding.yaml
|
||||
|
|
Loading…
Reference in New Issue