Skip to content

Commit

Permalink
Merge pull request #131 from ibm-apiconnect/develop
Browse files Browse the repository at this point in the history
Fixpack 19 updates
  • Loading branch information
ramgdev authored Jan 20, 2022
2 parents 5238e35 + 7f8613f commit 2f7cd0d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion stable/dynamic-gateway-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for deploying IBM API Connect gateway to Kubernetes
name: dynamic-gateway-service
version: 1.0.66
version: 1.0.67
13 changes: 8 additions & 5 deletions stable/dynamic-gateway-service/templates/gateway-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if eq .Values.ingressType "ingress" }}
{{- if .Values.ingress.gateway.enabled -}}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "dynamic-gateway-service.fullname" . }}-gw
Expand All @@ -22,10 +22,13 @@ spec:
- host: {{ $host.name }}
http:
paths:
- path: /
backend:
serviceName: {{ template "dynamic-gateway-service.fullname" $ }}-ingress
servicePort: {{ $.Values.datapower.apiGatewayLocalPort }}
- path: /
pathType: ImplementationSpecific
backend:
service:
name: {{ template "dynamic-gateway-service.fullname" $ }}-ingress
port:
number: {{ $.Values.datapower.apiGatewayLocalPort }}
{{- end -}}
{{- if .Values.ingress.gateway.enableTLS }}
tls:
Expand Down
13 changes: 8 additions & 5 deletions stable/dynamic-gateway-service/templates/gwd-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if eq .Values.ingressType "ingress" }}
{{- if .Values.ingress.gwd.enabled -}}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "dynamic-gateway-service.fullname" . }}
Expand All @@ -21,10 +21,13 @@ spec:
- host: {{ $host.name }}
http:
paths:
- path: /
backend:
serviceName: {{ template "dynamic-gateway-service.fullname" $ }}-ingress
servicePort: {{ $.Values.datapower.apicGatewayServiceLocalPort }}
- path: /
pathType: ImplementationSpecific
backend:
service:
name: {{ template "dynamic-gateway-service.fullname" $ }}-ingress
port:
number: {{ $.Values.datapower.apicGatewayServiceLocalPort }}
{{- end -}}
{{- if .Values.ingress.gwd.enableTLS }}
tls:
Expand Down

0 comments on commit 2f7cd0d

Please sign in to comment.