From 4d0184c6686648902d1aae988eae844f936b3067 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 16 Apr 2021 16:54:35 -0400 Subject: [PATCH] feat: allow virtualservice hostname to be overriden --- chart/templates/bigbang/virtualservice.yaml | 2 +- chart/values.yaml | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/chart/templates/bigbang/virtualservice.yaml b/chart/templates/bigbang/virtualservice.yaml index 5601574..b5e29fc 100644 --- a/chart/templates/bigbang/virtualservice.yaml +++ b/chart/templates/bigbang/virtualservice.yaml @@ -16,7 +16,7 @@ spec: gateways: - main.istio-system.svc.cluster.local hosts: - - "nexus-repository-manager.{{ .Values.hostname }}" + - "{{ .Values.hostname }}.{{ .Values.domain }}" http: - route: - destination: diff --git a/chart/values.yaml b/chart/values.yaml index 54aac65..79478e0 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,5 +1,6 @@ # -- Big Bang Additions -hostname: bigbang.dev +hostname: nexus +domain: bigbang.dev istio: enabled: false license_key: "" @@ -32,12 +33,6 @@ sso: - "nx-admin" # -- End of BigBang Additions -global: - hosts: - name: nexus-repository-manager - service: - name: nexus-repository-manager - ingress: enabled: true annotations: {kubernetes.io/ingress.class: nginx} -- GitLab