Difference between revisions of "Template:Kind: ingress tls official"

From wikieduonline
Jump to navigation Jump to search
 
Line 7: Line 7:
 
   - hosts:
 
   - hosts:
 
       - https-example.foo.com
 
       - https-example.foo.com
     secretName: testsecret-tls
+
     [[secretName]]: testsecret-tls
 
   rules:
 
   rules:
 
   - host: https-example.foo.com
 
   - host: https-example.foo.com

Latest revision as of 15:04, 14 February 2024

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tls-example-ingress
spec:
  tls:
  - hosts:
      - https-example.foo.com
    secretName: testsecret-tls
  rules:
  - host: https-example.foo.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: service1
            port:
              number: 80

Advertising: