apiVersion: v1 kind: Service metadata: name: gingress namespace: {{ .Values.gingress.namespace | default "gingress-system" }} labels: app: gingress spec: type: LoadBalancer selector: app: gingress ports: - name: http port: {{ .Values.gingress.httpPort | default 80 }} targetPort: http protocol: TCP - name: https port: {{ .Values.gingress.httpsPort | default 443 }} targetPort: https protocol: TCP