add templates/bookinfo-ingress.yaml
This commit is contained in:
parent
66fe670e96
commit
677019c877
@ -12,6 +12,7 @@
|
||||
- bookinfo-reviews.yaml
|
||||
- bookinfo-details.yaml
|
||||
- bookinfo-ratings.yaml
|
||||
- bookinfo-ingress.yaml
|
||||
|
||||
- name: Setup bookinfo
|
||||
shell: "kubectl apply -f /tmp{{ item }}"
|
||||
@ -22,3 +23,4 @@
|
||||
- bookinfo-reviews.yaml
|
||||
- bookinfo-details.yaml
|
||||
- bookinfo-ratings.yaml
|
||||
- bookinfo-ingress.yaml
|
||||
|
||||
18
playbook/roles/bookinfo/templates/bookinfo-ingress.yaml
Normal file
18
playbook/roles/bookinfo/templates/bookinfo-ingress.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: bookinfo
|
||||
namespace: default
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: bookinfo.onwalk.net
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: productpage
|
||||
port:
|
||||
number: 9080
|
||||
path: /
|
||||
pathType: Prefix
|
||||
Loading…
Reference in New Issue
Block a user