Add kustomizations for the image-* controllers

I have used the cookie-cutter from the examples already there.

Signed-off-by: Michael Bridgen <michael@weave.works>
pull/580/head
Michael Bridgen 4 years ago
parent 811cd4248f
commit 09f145d880

@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/fluxcd/image-automation-controller/archive/v0.1.0.zip//image-automation-controller-0.1.0/config/crd
- https://github.com/fluxcd/image-automation-controller/archive/v0.1.0.zip//image-automation-controller-0.1.0/config/manager
patchesJson6902:
- target:
group: apps
version: v1
kind: Deployment
name: image-automation-controller
path: patch.yaml

@ -0,0 +1,3 @@
- op: add
path: /spec/template/spec/containers/0/args/0
value: --events-addr=http://notification-controller/

@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/fluxcd/image-reflector-controller/archive/v0.1.0.zip//image-reflector-controller-0.1.0/config/crd
- https://github.com/fluxcd/image-reflector-controller/archive/v0.1.0.zip//image-reflector-controller-0.1.0/config/manager
patchesJson6902:
- target:
group: apps
version: v1
kind: Deployment
name: image-reflector-controller
path: patch.yaml

@ -0,0 +1,3 @@
- op: add
path: /spec/template/spec/containers/0/args/0
value: --events-addr=http://notification-controller/

@ -7,6 +7,8 @@ resources:
- ../bases/kustomize-controller - ../bases/kustomize-controller
- ../bases/notification-controller - ../bases/notification-controller
- ../bases/helm-controller - ../bases/helm-controller
- ../bases/image-reflector-controller
- ../bases/image-automation-controller
- ../rbac - ../rbac
- ../policies - ../policies
transformers: transformers:

Loading…
Cancel
Save