Merge pull request #39 from fluxcd/deploy-config

deploy: reusable config
This commit is contained in:
Stefan Prodan 2020-04-24 12:31:08 +03:00 committed by GitHub
commit c6e2a57212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 7 deletions

View File

@ -1,8 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: source-system
namePrefix: source-
bases:
- ../crd
- ../rbac
- ../manager
resources:
- namespace.yaml

View File

@ -3,4 +3,4 @@ kind: Namespace
metadata:
labels:
control-plane: controller
name: system
name: source-system

View File

@ -1,8 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller
namespace: system
name: source-controller
labels:
control-plane: controller
spec:

View File

@ -1,7 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- service.yaml
- deployment.yaml
images:

View File

@ -1,8 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: controller
namespace: system
name: source-controller
labels:
control-plane: controller
spec:

View File

@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namePrefix: source-
resources:
- role.yaml
- role_binding.yaml