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...")
 
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

Revision as of 12:41, 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: