Skip to content

Commit

Permalink
Added ipFamily-related options
Browse files Browse the repository at this point in the history
  • Loading branch information
hrntknr committed Aug 21, 2023
1 parent 1346858 commit a8387a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/minecraft/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions charts/minecraft/templates/minecraft-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a8387a3

Please sign in to comment.