Skip to content

Commit 6c124bc

Browse files
authored
Merge branch 'main' into fix/demo-data-lakehouse-iceberg-trino-spark
2 parents 374ae21 + 1f76c7b commit 6c124bc

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

stacks/argo-cd-git-ops/applicationsets/stackable-operators.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ kind: ApplicationSet
44
metadata:
55
name: stackable-operators
66
spec:
7+
goTemplate: true
78
generators:
89
- matrix:
910
generators:
@@ -33,7 +34,7 @@ spec:
3334
# {% raw %}
3435
template:
3536
metadata:
36-
name: "{{ operator }}-operator"
37+
name: "{{ .operator }}-operator"
3738
spec:
3839
project: stackable-operators
3940
ignoreDifferences:
@@ -46,12 +47,12 @@ spec:
4647
- .spec.versions[].additionalPrinterColumns | select(. == [])
4748
source:
4849
repoURL: "oci.stackable.tech"
49-
targetRevision: "{{ targetRevision }}"
50-
chart: "sdp-charts/{{ operator }}-operator"
50+
targetRevision: "{{ .targetRevision }}"
51+
chart: "sdp-charts/{{ .operator }}-operator"
5152
helm:
52-
releaseName: "{{ operator }}-operator"
53+
releaseName: "{{ .operator }}-operator"
5354
destination:
54-
server: "{{ server }}"
55+
server: "{{ .server }}"
5556
namespace: stackable-operators
5657
syncPolicy:
5758
syncOptions:
@@ -61,4 +62,12 @@ spec:
6162
automated:
6263
selfHeal: true
6364
prune: true
65+
templatePatch: |
66+
{{- if eq .operator "listener" }}
67+
spec:
68+
source:
69+
helm:
70+
values: |
71+
preset: stable-nodes
72+
{{- end }}
6473
# {% endraw %}

0 commit comments

Comments
 (0)