From 2793dab4f6232ed47d46c48656efa53ec5d1d1fd Mon Sep 17 00:00:00 2001 From: donggyu Date: Tue, 14 Nov 2023 15:17:55 +0900 Subject: [PATCH 1/2] add gatekeeper on servicemesh installation --- templates/decapod-apps/service-mesh-wf.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/templates/decapod-apps/service-mesh-wf.yaml b/templates/decapod-apps/service-mesh-wf.yaml index d28b01a..cda7084 100644 --- a/templates/decapod-apps/service-mesh-wf.yaml +++ b/templates/decapod-apps/service-mesh-wf.yaml @@ -37,7 +37,7 @@ spec: - - name: deploy template: deploy - + - - name: sync-app template: sync-app @@ -181,6 +181,20 @@ spec: dependencies: - servicemesh-jaeger-kiali-resource + - name: gatekeeper + templateRef: + name: create-application + template: installApps + arguments: + parameters: + - name: list + value: | + [ + { "app_group": "service-mesh", "path": "servicemesh-grafana-dashboard", "namespace": "tks-msa", "target_cluster": "" } + ] + dependencies: + - grafana-prometheus-resource + - name: create-namespace inputs: parameters: From 553084d2fcd95e2b2eeab24e3ff3fb2afc22b8fe Mon Sep 17 00:00:00 2001 From: donggyu Date: Tue, 14 Nov 2023 17:56:18 +0900 Subject: [PATCH 2/2] bug fix: fix typo --- templates/decapod-apps/service-mesh-wf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/decapod-apps/service-mesh-wf.yaml b/templates/decapod-apps/service-mesh-wf.yaml index cda7084..a603b80 100644 --- a/templates/decapod-apps/service-mesh-wf.yaml +++ b/templates/decapod-apps/service-mesh-wf.yaml @@ -190,7 +190,7 @@ spec: - name: list value: | [ - { "app_group": "service-mesh", "path": "servicemesh-grafana-dashboard", "namespace": "tks-msa", "target_cluster": "" } + { "app_group": "service-mesh", "path": "gatekeeper", "namespace": "tks-msa", "target_cluster": "" } ] dependencies: - grafana-prometheus-resource