From e484e035e73816e32d0031a5fcb2aed4f28453fd Mon Sep 17 00:00:00 2001 From: Matt W <768067+diranged@users.noreply.github.com> Date: Thu, 3 Jun 2021 15:25:12 -0700 Subject: [PATCH] [istio-endpoints] Bugfix on the ServiceEntry config (#15) --- charts/istio-endpoints/Chart.yaml | 2 +- charts/istio-endpoints/README.md | 4 ++-- charts/istio-endpoints/templates/elasticache.yaml | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/istio-endpoints/Chart.yaml b/charts/istio-endpoints/Chart.yaml index 8c8dc818..c5adffde 100644 --- a/charts/istio-endpoints/Chart.yaml +++ b/charts/istio-endpoints/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: istio-endpoints description: Per-Namespace Istio Configuration Chart type: application -version: 0.1.0 +version: 0.1.1 appVersion: latest maintainers: - name: diranged diff --git a/charts/istio-endpoints/README.md b/charts/istio-endpoints/README.md index a111ed06..aa97c7c9 100644 --- a/charts/istio-endpoints/README.md +++ b/charts/istio-endpoints/README.md @@ -2,7 +2,7 @@ Per-Namespace Istio Configuration Chart -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) [elasticache]: https://aws.amazon.com/elasticache/ [serviceentry]: https://istio.io/latest/docs/reference/config/networking/service-entry/ @@ -53,7 +53,7 @@ spec: + dependencies: + - name: istio-endpoints + repository: https://k8s-charts.nextdoor.com -+ version: 0.1.0 ++ version: 0.1.1 maintainers: - name: diranged email: matt@nextdoor.com diff --git a/charts/istio-endpoints/templates/elasticache.yaml b/charts/istio-endpoints/templates/elasticache.yaml index 6b312c69..5f0594b8 100644 --- a/charts/istio-endpoints/templates/elasticache.yaml +++ b/charts/istio-endpoints/templates/elasticache.yaml @@ -41,7 +41,8 @@ spec: */}} endpoints: - address: {{ $cfg.address }} - port: {{ default $global.Values.defaults.elasticacheTargetPort $cfg.targetPort }} + ports: + redis: {{ default $global.Values.defaults.elasticacheTargetPort $cfg.targetPort }} {{- /* Inform Istio about the protocol that we are passing here. This is what