diff --git a/charts/scorpio-broker-aaio/Chart.yaml b/charts/scorpio-broker-aaio/Chart.yaml index c9e4df7..aa6cdba 100644 --- a/charts/scorpio-broker-aaio/Chart.yaml +++ b/charts/scorpio-broker-aaio/Chart.yaml @@ -14,7 +14,7 @@ type: application # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.4.3 +version: 0.4.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. diff --git a/charts/scorpio-broker-aaio/README.md b/charts/scorpio-broker-aaio/README.md index 5deb4dd..12d2eff 100644 --- a/charts/scorpio-broker-aaio/README.md +++ b/charts/scorpio-broker-aaio/README.md @@ -1,6 +1,6 @@ # scorpio-broker-aaio -![Version: 0.4.3](https://img.shields.io/badge/Version-0.4.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.1.0](https://img.shields.io/badge/AppVersion-2.1.0-informational?style=flat-square) +![Version: 0.4.5](https://img.shields.io/badge/Version-0.4.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.1.0](https://img.shields.io/badge/AppVersion-2.1.0-informational?style=flat-square) A Helm chart for Kubernetes in which all the microservices are deployed under a single container and thus less effective for production environment but serves well in testing and dev environment. diff --git a/charts/scorpio-broker-aaio/templates/ingress.yaml b/charts/scorpio-broker-aaio/templates/ingress.yaml index b2c3744..c16d18e 100644 --- a/charts/scorpio-broker-aaio/templates/ingress.yaml +++ b/charts/scorpio-broker-aaio/templates/ingress.yaml @@ -1,11 +1,7 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "scorpioBroker-aaio.fullname" . -}} {{- $svcPort := .Values.service.port -}} -{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 -{{- else -}} -apiVersion: extensions/v1beta1 -{{- end }} +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ $fullName }} @@ -28,15 +24,18 @@ spec: {{- end }} {{- end }} rules: - {{- range .Values.ingress.hosts }} - - host: {{ .host | quote }} - http: - paths: - {{- range .paths }} - - path: {{ .path }} - backend: - serviceName: {{ $fullName }} - servicePort: {{ $svcPort }} - {{- end }} - {{- end }} + {{- range .Values.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ . }} + pathType: Prefix + backend: + service: + name: {{ $fullName }} + port: + number: {{ $servicePort }} + {{- end }} {{- end }} +{{- end }}