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

From wikieduonline
Jump to navigation Jump to search
(Created page with " apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: tls-example-ingress spec: tls: - hosts: - https-example.foo.com secretName: tes...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  [[apiVersion: networking.k8s.io/v1]]
 
  [[apiVersion: networking.k8s.io/v1]]
  kind: Ingress
+
  [[kind: Ingress]]
 
  metadata:
 
  metadata:
 
   name: tls-example-ingress
 
   name: tls-example-ingress
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: