diff --git a/charts/minecraft/Chart.yaml b/charts/minecraft/Chart.yaml index 1732fd9e..68dac0fe 100755 --- a/charts/minecraft/Chart.yaml +++ b/charts/minecraft/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft -version: 4.9.4 +version: 4.9.5 appVersion: SeeValues home: https://minecraft.net/ description: Minecraft server diff --git a/charts/minecraft/templates/minecraft-svc.yaml b/charts/minecraft/templates/minecraft-svc.yaml index 18b6b458..fed8e80c 100644 --- a/charts/minecraft/templates/minecraft-svc.yaml +++ b/charts/minecraft/templates/minecraft-svc.yaml @@ -34,6 +34,13 @@ spec: {{- end }} {{- if .Values.minecraftServer.clusterIP }} clusterIP: {{ .Values.minecraftServer.clusterIP }} +{{- end }} +{{- if .Values.minecraftServer.ipFamilyPolicy }} + ipFamilyPolicy: {{ .Values.minecraftServer.ipFamilyPolicy }} +{{- end }} +{{- if .Values.minecraftServer.ipFamilies }} + ipFamilies: +{{ toYaml .Values.minecraftServer.ipFamilies | indent 4 }} {{- end }} {{- if .Values.minecraftServer.externalTrafficPolicy }} externalTrafficPolicy: {{ .Values.minecraftServer.externalTrafficPolicy }} diff --git a/charts/minecraft/values.yaml b/charts/minecraft/values.yaml index f374e6ba..4e034d6f 100644 --- a/charts/minecraft/values.yaml +++ b/charts/minecraft/values.yaml @@ -224,6 +224,8 @@ minecraftServer: # Set the external port of the service, usefull when using the LoadBalancer service type servicePort: 25565 clusterIP: + ipFamilyPolicy: PreferDualStack + # ipFamilies: [] loadBalancerIP: # loadBalancerSourceRanges: [] ## Set the externalTrafficPolicy in the Service to either Cluster or Local