helm collabora kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
704 B

  1. {{- if .Values.dynamicConfig.enabled -}}
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: {{ include "collabora-online.fullname" . }}-dynconfig
  6. labels:
  7. {{- include "collabora-online.labels" . | nindent 4 }}
  8. type: dynconfig
  9. spec:
  10. type: {{ .Values.service.type }}
  11. ports:
  12. - port: {{ .Values.dynamicConfig.service.port }}
  13. targetPort: http
  14. protocol: TCP
  15. name: http
  16. {{- if .Values.dynamicConfig.upload.enabled }}
  17. - port: {{ .Values.dynamicConfig.upload.service.port }}
  18. targetPort: upload-http
  19. protocol: TCP
  20. name: upload-http
  21. {{- end }}
  22. selector:
  23. {{- include "collabora-online.selectorLabels" . | nindent 4 }}
  24. type: dynconfig
  25. {{- end }}