Difference between revisions of "Spec.tls"

From wikieduonline
Jump to navigation Jump to search
Line 18: Line 18:
 
== Related ==
 
== Related ==
 
  [[elasticsearch values.yaml]]
 
  [[elasticsearch values.yaml]]
  [[helm_resource]]
+
  [[helm_release]]
 
  [[ingress.tls]]
 
  [[ingress.tls]]
 
  [[Inappropriate value for attribute "value": element 0: string required.]]
 
  [[Inappropriate value for attribute "value": element 0: string required.]]

Revision as of 15:21, 13 February 2024


tls:
  - hosts:
      - ingress-demo.example.com
    secretName: ingress-demo-tls
tls: 
  - secretName: chart-example-tls
     hosts:
       - chart-example.local


Ingress

 apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
  name: example
  namespace: foo
spec:
  rules:
    - host: www.example.com
      http:
        paths:
          - backend:
              serviceName: exampleService
              servicePort: 80
            path: /
  # This section is only required if TLS is to be enabled for the Ingress
  tls:
      - hosts:
          - www.example.com
        secretName: example-tls

Related

elasticsearch values.yaml
helm_release
ingress.tls
Inappropriate value for attribute "value": element 0: string required.
IngressTLS
kind: Ingress
spec.tls
json: cannot unmarshal string into Go struct field IngressSpec.spec.tls of type v1.IngressTLS
Error: cannot patch
set_list
Data Source: helm template

 enterpriseGateway.ingress.tls | list | `[{"hosts":["gateway.gem.example.com"],"secretName":"gem-gateway-tls"}]` | TLS configuration for the gateway ingress |

See also

Advertising: