Difference between revisions of "Template:Kind: Ingress tls and annotation"

From wikieduonline
Jump to navigation Jump to search
(Created page with " apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: kuard annotations: cert-manager.io/issuer: "letsencrypt-staging" spec: ingressClassName:...")
 
 
Line 1: Line 1:
 
  apiVersion: networking.k8s.io/v1
 
  apiVersion: networking.k8s.io/v1
  kind: Ingress
+
  [[kind: Ingress]]
 
  metadata:
 
  metadata:
 
   name: kuard
 
   name: kuard

Latest revision as of 13:08, 14 February 2024

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: kuard
  annotations:
    cert-manager.io/issuer: "letsencrypt-staging"

spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - example.example.com
    secretName: quickstart-example-tls
  rules:
  - host: example.example.com
    http:
      paths:
       - path: /
         pathType: Prefix
         backend:
           service:
             name: kuard
            port:
              number: 80

Advertising: