2022-12-22 20:29:31 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2023-08-10 06:46:40 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
|
2023-10-16 16:17:16 +08:00
|
|
|
kompose.version: 1.31.2 (a92241f79)
|
2022-12-22 20:29:31 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-apache
|
|
|
|
name: nextcloud-aio-apache
|
2023-08-10 06:46:40 +08:00
|
|
|
namespace: {{ .Values.NAMESPACE }}
|
2022-12-22 20:29:31 +08:00
|
|
|
spec:
|
2023-11-13 21:24:13 +08:00
|
|
|
ipFamilyPolicy: PreferDualStack
|
2023-02-04 22:23:44 +08:00
|
|
|
type: LoadBalancer
|
2023-11-08 18:03:50 +08:00
|
|
|
externalTrafficPolicy: Local
|
2022-12-22 20:29:31 +08:00
|
|
|
ports:
|
|
|
|
- name: "{{ .Values.APACHE_PORT }}"
|
|
|
|
port: {{ .Values.APACHE_PORT }}
|
|
|
|
targetPort: {{ .Values.APACHE_PORT }}
|
2023-07-20 21:54:51 +08:00
|
|
|
- name: {{ .Values.APACHE_PORT }}-udp
|
|
|
|
port: {{ .Values.APACHE_PORT }}
|
|
|
|
protocol: UDP
|
|
|
|
targetPort: {{ .Values.APACHE_PORT }}
|
2022-12-22 20:29:31 +08:00
|
|
|
selector:
|
|
|
|
io.kompose.service: nextcloud-aio-apache
|