1
0
mirror of synced 2026-02-13 21:16:57 +00:00

Add source-watcher to the install and bootstrap commands

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2025-09-15 21:23:09 +03:00
parent 0a87ed5a42
commit 3542d61afd
7 changed files with 83 additions and 14 deletions

View File

@@ -65,7 +65,7 @@ patches:
- op: replace
path: /spec/template/spec/containers/0/args/1
value: --log-level={{$logLevel}}
{{- else if eq $component "source-controller" }}
{{- else if or (eq $component "source-controller") (eq $component "source-watcher") }}
- target:
group: apps
version: v1
@@ -102,7 +102,17 @@ patches:
value: --log-level={{$logLevel}}
{{- end }}
{{- end }}
{{- range $i, $component := .Components }}
{{- if eq $component "source-watcher" }}
- target:
kind: Deployment
name: "(kustomize-controller|helm-controller)"
patch: |-
- op: add
path: /spec/template/spec/containers/0/args/-
value: --feature-gates=ExternalArtifact=true
{{- end }}
{{- end }}
{{- if $registry }}
images:
{{- range $i, $component := .Components }}