Ingress definition spec changed
Updated example Signed-off-by: Elisamara Aoki Goncalves <elisamaraaoki.goncalves@windriver.com> Change-Id: Icc99c3d650905a85fcaa1d0c57394dc8d998fcc6
This commit is contained in:
		@@ -45,7 +45,7 @@ This example requires that:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    .. code-block:: none
 | 
					    .. code-block:: none
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        apiVersion: cert-manager.io/v1alpha2
 | 
					        apiVersion: cert-manager.io/v1
 | 
				
			||||||
        kind: Issuer
 | 
					        kind: Issuer
 | 
				
			||||||
        metadata:
 | 
					        metadata:
 | 
				
			||||||
          name: letsencrypt-prod
 | 
					          name: letsencrypt-prod
 | 
				
			||||||
@@ -114,14 +114,14 @@ This example requires that:
 | 
				
			|||||||
          selector:
 | 
					          selector:
 | 
				
			||||||
            app: kuard
 | 
					            app: kuard
 | 
				
			||||||
        ---
 | 
					        ---
 | 
				
			||||||
        apiVersion: extensions/v1beta1
 | 
					        apiVersion: networking.k8s.io/v1
 | 
				
			||||||
        kind: Ingress
 | 
					        kind: Ingress
 | 
				
			||||||
        metadata:
 | 
					        metadata:
 | 
				
			||||||
          annotations:
 | 
					          annotations:
 | 
				
			||||||
            kubernetes.io/ingress.class: nginx
 | 
					 | 
				
			||||||
            cert-manager.io/issuer: "letsencrypt-prod"
 | 
					            cert-manager.io/issuer: "letsencrypt-prod"
 | 
				
			||||||
          name: kuard
 | 
					          name: kuard
 | 
				
			||||||
        spec:
 | 
					        spec:
 | 
				
			||||||
 | 
					          ingressClassName: nginx
 | 
				
			||||||
          tls:
 | 
					          tls:
 | 
				
			||||||
          - hosts:
 | 
					          - hosts:
 | 
				
			||||||
            - kuard.starlingx.mycompany.com
 | 
					            - kuard.starlingx.mycompany.com
 | 
				
			||||||
@@ -130,10 +130,13 @@ This example requires that:
 | 
				
			|||||||
            - host: kuard.starlingx.mycompany.com
 | 
					            - host: kuard.starlingx.mycompany.com
 | 
				
			||||||
              http:
 | 
					              http:
 | 
				
			||||||
                paths:
 | 
					                paths:
 | 
				
			||||||
                  - backend:
 | 
					                - backend:
 | 
				
			||||||
                      serviceName: kuard
 | 
					                    service:
 | 
				
			||||||
                      servicePort: 80
 | 
					                      name: kuard
 | 
				
			||||||
                    path: /
 | 
					                      port:
 | 
				
			||||||
 | 
					                        number: 80
 | 
				
			||||||
 | 
					                  path: /
 | 
				
			||||||
 | 
					                  pathType: Prefix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#.  Access the kuard demo from your browser to inspect and verify that the
 | 
					#.  Access the kuard demo from your browser to inspect and verify that the
 | 
				
			||||||
    certificate is signed by LetsEncrypt |CA|. For this example, the URL
 | 
					    certificate is signed by LetsEncrypt |CA|. For this example, the URL
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user