From 9b0d773ba9c452bcf2882fe71193f70076b51b53 Mon Sep 17 00:00:00 2001 From: ricoberger Date: Fri, 23 Apr 2021 16:11:43 +0200 Subject: [PATCH] Fix VirtualService in Helm chart The used value in the VirtualService template for hosts and gateways was wrong. --- CHANGELOG.md | 2 ++ deploy/helm/kobs/Chart.yaml | 2 +- deploy/helm/kobs/templates/virtualservice.yaml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33d1d220d..0178e3fd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ NOTE: As semantic versioning states all 0.y.z releases can contain breaking chan ### Fixed +- [#43](https://github.com/kobsio/kobs/pull/43): Fix `hosts` and `gateways` list for VirtualService in the Helm chart. + ### Changed ## [v0.2.0](https://github.com/kobsio/kobs/releases/tag/v0.2.0) (2021-04-23) diff --git a/deploy/helm/kobs/Chart.yaml b/deploy/helm/kobs/Chart.yaml index 0246dbab8..932432139 100644 --- a/deploy/helm/kobs/Chart.yaml +++ b/deploy/helm/kobs/Chart.yaml @@ -4,5 +4,5 @@ description: Kubernetes Observability Platform type: application home: https://kobs.io icon: https://kobs.io/assets/images/logo.svg -version: 0.3.0 +version: 0.3.1 appVersion: v0.2.0 diff --git a/deploy/helm/kobs/templates/virtualservice.yaml b/deploy/helm/kobs/templates/virtualservice.yaml index fbcac1fa7..aba51bc5c 100644 --- a/deploy/helm/kobs/templates/virtualservice.yaml +++ b/deploy/helm/kobs/templates/virtualservice.yaml @@ -6,11 +6,11 @@ metadata: labels: {{- include "kobs.labels" . | nindent 4 }} spec: -{{- with .Values.istio.hosts }} +{{- with .Values.istio.virtualService.hosts }} hosts: {{- toYaml . | nindent 4 }} {{- end }} -{{- with .Values.istio.gateways }} +{{- with .Values.istio.virtualService.gateways }} gateways: {{- toYaml . | nindent 4 }} {{- end }}