service.yaml 377 B

12345678910111213
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: { { include "porter-prod.fullname" . } }
  5. labels: { { - include "porter-prod.labels" . | nindent 4 } }
  6. spec:
  7. type: { { .Values.service.type } }
  8. ports:
  9. - port: { { .Values.service.port } }
  10. targetPort: http
  11. protocol: TCP
  12. name: http
  13. selector: { { - include "porter-prod.selectorLabels" . | nindent 4 } }