Merge pull request #3732 from nextcloud/enh/noid/add-dual-stack

This commit is contained in:
Simon L 2023-11-13 16:44:16 +01:00 committed by GitHub
commit 779f9e4889
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 15 additions and 0 deletions

View file

@ -9,6 +9,7 @@ metadata:
name: nextcloud-aio-apache
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
type: LoadBalancer
externalTrafficPolicy: Local
ports:

View file

@ -10,6 +10,7 @@ metadata:
name: nextcloud-aio-clamav
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "3310"
port: 3310

View file

@ -10,6 +10,7 @@ metadata:
name: nextcloud-aio-collabora
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "9980"
port: 9980

View file

@ -9,6 +9,7 @@ metadata:
name: nextcloud-aio-database
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "5432"
port: 5432

View file

@ -10,6 +10,7 @@ metadata:
name: nextcloud-aio-fulltextsearch
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "9200"
port: 9200

View file

@ -10,6 +10,7 @@ metadata:
name: nextcloud-aio-imaginary
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "9000"
port: 9000

View file

@ -9,6 +9,7 @@ metadata:
name: nextcloud-aio-nextcloud
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "9000"
port: 9000

View file

@ -9,6 +9,7 @@ metadata:
name: nextcloud-aio-notify-push
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "7867"
port: 7867

View file

@ -10,6 +10,7 @@ metadata:
name: nextcloud-aio-onlyoffice
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "80"
port: 80

View file

@ -9,6 +9,7 @@ metadata:
name: nextcloud-aio-redis
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "6379"
port: 6379

View file

@ -10,6 +10,7 @@ metadata:
name: nextcloud-aio-talk-recording
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "1234"
port: 1234

View file

@ -11,6 +11,7 @@ metadata:
name: nextcloud-aio-talk-public
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
type: LoadBalancer
externalTrafficPolicy: Local
ports:
@ -35,6 +36,7 @@ metadata:
name: nextcloud-aio-talk
namespace: {{ .Values.NAMESPACE }}
spec:
ipFamilyPolicy: PreferDualStack
ports:
- name: "8081"
port: 8081

View file

@ -168,6 +168,8 @@ find ./ -name '*talk-service.yaml' -exec mv /tmp/talk-service.copy \{} \;
# shellcheck disable=SC1083
find ./ -name '*service.yaml' -exec sed -i "/type: LoadBalancer/a\ \ externalTrafficPolicy: Local" \{} \;
# shellcheck disable=SC1083
find ./ -name '*service.yaml' -exec sed -i "/^spec:/a\ \ ipFamilyPolicy: PreferDualStack" \{} \;
# shellcheck disable=SC1083
find ./ -name '*.yaml' -exec sed -i "s|'{{|\"{{|g;s|}}'|}}\"|g" \{} \;
# shellcheck disable=SC1083
find ./ -name '*.yaml' -exec sed -i "/type: Recreate/d" \{} \;