From 1197fcf4d90115b88f0e62e716a2b6b50598ee92 Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Tue, 23 Jan 2024 12:11:50 +0100 Subject: [PATCH] Fix matrix generator for strimzi applications (#325) Signed-off-by: Jakub Stejskal --- .../argo/applications/strimzi-infra.yaml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/install/roles/automation-hub/templates/argo/applications/strimzi-infra.yaml b/install/roles/automation-hub/templates/argo/applications/strimzi-infra.yaml index b671eea7..2383abaa 100644 --- a/install/roles/automation-hub/templates/argo/applications/strimzi-infra.yaml +++ b/install/roles/automation-hub/templates/argo/applications/strimzi-infra.yaml @@ -7,19 +7,25 @@ spec: - matrix: generators: - git: - repoURL: https://github.com/skodjob/deployment-hub - revision: HEAD files: - - path: "strimzi/**/argo-config.yaml" - - git: - repoURL: https://github.com/skodjob/deployment-hub + - path: strimzi/**/argo-config.yaml + repoURL: 'https://github.com/skodjob/deployment-hub' revision: HEAD + - clusters: + selector: + matchLabels: + environment: upstream-latest + - matrix: + generators: + - git: files: - - path: "infra/strimzi/argo-config.yaml" + - path: infra/strimzi/argo-config.yaml + repoURL: 'https://github.com/skodjob/deployment-hub' + revision: HEAD - clusters: selector: matchLabels: - environment: 'upstream-latest' + environment: upstream-latest template: metadata: name: '{{appname}}-{{name}}'