From 44e543f19622693477567f9dfac47d4236970fb8 Mon Sep 17 00:00:00 2001 From: Taekyu Date: Mon, 21 Mar 2022 01:36:46 +0900 Subject: [PATCH] feature. add tks-portal --- service-mesh/base/resources.yaml | 41 ++++++++++++++++++++++++++++++ service-mesh/base/site-values.yaml | 17 ++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/service-mesh/base/resources.yaml b/service-mesh/base/resources.yaml index bc9ec31..0877cd0 100644 --- a/service-mesh/base/resources.yaml +++ b/service-mesh/base/resources.yaml @@ -408,3 +408,44 @@ spec: optimization: interval: "5s" wait: true +--- +apiVersion: helm.fluxcd.io/v1 +kind: HelmRelease +metadata: + labels: + name: servicemesh-portal + name: servicemesh-portal +spec: + helmVersion: v3 + chart: + type: helmrepo + repository: https://openinfradev.github.io/helm-repo + name: servicemesh-portal + version: 1.0.0 + releaseName: servicemesh-portal + targetNamespace: istio-system + values: + application: + spring: + profiles: + active: prod,log + server: + port: 8080 + tks: + admin: + username: admin + password: password + url: https://dashboard.example.com + harbor: + url: https://harbor.example.com + keycloak: + realm: realm + resource: portal + credentials: + secret: TO_BE_FIXED + auth-server-url: https://keycloak.example.com/auth + service: + type: ClusterIP + port: 9110 + containerPort: 8080 + wait: true diff --git a/service-mesh/base/site-values.yaml b/service-mesh/base/site-values.yaml index f13138a..802bdbc 100644 --- a/service-mesh/base/site-values.yaml +++ b/service-mesh/base/site-values.yaml @@ -102,4 +102,19 @@ charts: override: namespace: istio-system aggregation.interval: "15s" - optimization.interval: "15s" \ No newline at end of file + optimization.interval: "15s" + +- name: servicemesh-portal + override: + namespace: istio-system + application: + tks: + admin: + username: admin + password: password + url: https://dashboard.example.com + keycloak: + realm: realmname + credentials: + secret: TO_BE_FIXED + auth-server-url: https://keycloak.example.com/auth