Skip to content

Commit

Permalink
Merge pull request #548 from IsuruMaduranga/4.0.x-update
Browse files Browse the repository at this point in the history
Update ingress api version
  • Loading branch information
RakhithaRR authored May 4, 2022
2 parents 499845b + 889a987 commit 1295595
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-pattern-1.resource.prefix" . }}-am-gateway-ingress
Expand All @@ -30,6 +30,9 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: {{ template "am-pattern-1.resource.prefix" . }}-am-service
servicePort: 8243
service:
name: {{ template "am-pattern-1.resource.prefix" . }}-am-service
port:
number: 8243
23 changes: 13 additions & 10 deletions advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-pattern-1.resource.prefix" . }}-am-ingress
Expand All @@ -23,13 +23,16 @@ metadata:
{{- end }}
spec:
tls:
- hosts:
- {{ .Values.wso2.deployment.am.ingress.management.hostname }}
- hosts:
- {{ .Values.wso2.deployment.am.ingress.management.hostname }}
rules:
- host: {{ .Values.wso2.deployment.am.ingress.management.hostname }}
http:
paths:
- path: /
backend:
serviceName: {{ template "am-pattern-1.resource.prefix" . }}-am-service
servicePort: 9443
- host: {{ .Values.wso2.deployment.am.ingress.management.hostname }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ template "am-pattern-1.resource.prefix" . }}-am-service
port:
number: 9443
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-pattern-1.resource.prefix" . }}-am-websub-ingress
Expand All @@ -30,6 +30,9 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: {{ template "am-pattern-1.resource.prefix" . }}-am-service
servicePort: 8021
service:
name: {{ template "am-pattern-1.resource.prefix" . }}-am-service
port:
number: 8021
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-pattern-1.resource.prefix" . }}-mi-1-management-ingress
Expand All @@ -23,13 +23,16 @@ metadata:
{{- end }}
spec:
tls:
- hosts:
- {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
- hosts:
- {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
rules:
- host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
http:
paths:
- path: /
backend:
serviceName: {{ template "am-pattern-1.resource.prefix" . }}-mi-1-service
servicePort: 9164
- host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ template "am-pattern-1.resource.prefix" . }}-mi-1-service
port:
number: 9164
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-pattern-2.resource.prefix" . }}-mi-2-management-ingress
Expand All @@ -23,13 +23,16 @@ metadata:
{{- end }}
spec:
tls:
- hosts:
- {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
- hosts:
- {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
rules:
- host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
http:
paths:
- path: /
backend:
serviceName: {{ template "am-pattern-2.resource.prefix" . }}-mi-2-service
servicePort: 9164
- host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ template "am-pattern-2.resource.prefix" . }}-mi-2-service
port:
number: 9164
9 changes: 6 additions & 3 deletions simple/am-single/templates/am/wso2am-gateway-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-single-node.resource.prefix" . }}-am-gateway-ingress
Expand All @@ -30,6 +30,9 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: {{ template "am-single-node.resource.prefix" . }}-am-service
servicePort: 8243
service:
name: {{ template "am-single-node.resource.prefix" . }}-am-service
port:
number: 8243
23 changes: 13 additions & 10 deletions simple/am-single/templates/am/wso2am-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-single-node.resource.prefix" . }}-am-ingress
Expand All @@ -23,13 +23,16 @@ metadata:
{{- end }}
spec:
tls:
- hosts:
- {{ .Values.wso2.deployment.am.ingress.management.hostname }}
- hosts:
- {{ .Values.wso2.deployment.am.ingress.management.hostname }}
rules:
- host: {{ .Values.wso2.deployment.am.ingress.management.hostname }}
http:
paths:
- path: /
backend:
serviceName: {{ template "am-single-node.resource.prefix" . }}-am-service
servicePort: 9443
- host: {{ .Values.wso2.deployment.am.ingress.management.hostname }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ template "am-single-node.resource.prefix" . }}-am-service
port:
number: 9443
9 changes: 6 additions & 3 deletions simple/am-single/templates/am/wso2am-websub-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "am-single-node.resource.prefix" . }}-am-websub-ingress
Expand All @@ -30,6 +30,9 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: {{ template "am-single-node.resource.prefix" . }}-am-service
servicePort: 8021
service:
name: {{ template "am-single-node.resource.prefix" . }}-am-service
port:
number: 8021

0 comments on commit 1295595

Please sign in to comment.