Skip to content

Example: Ingress

Stéphane Brunner edited this page May 31, 2024 · 5 revisions

Create a Deployment served by an Ingress on /, with a tls.

ingress:
  enabled: true
  hostGroups:
    test:
      tls:
        enabled: true
      hosts:
        - test.camptocamp.com

services:
  deployment1:
    enabled: true
    ingress:
      enabled: true
      path: /
    service:
      servicePort: 80
      ports:
        - port: 80
          targetPort: http
          protocol: TCP
          name: http
    containers:
      container1:
        image:
          repository: camptocamp/image
          tag: latest
        ports:
          http:
            containerPort: 8080
            protocol: TCP
Clone this wiki locally