diff --git a/charts/minecraft-proxy/Chart.yaml b/charts/minecraft-proxy/Chart.yaml index 08229d3..f4a993b 100644 --- a/charts/minecraft-proxy/Chart.yaml +++ b/charts/minecraft-proxy/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft-proxy -version: 3.4.0 +version: 3.5.0 appVersion: SeeValues description: Minecraft proxy server (BungeeCord, Waterfall, Velocity, etc.) keywords: diff --git a/charts/minecraft-proxy/templates/deployment.yaml b/charts/minecraft-proxy/templates/deployment.yaml index a2047eb..1da00be 100644 --- a/charts/minecraft-proxy/templates/deployment.yaml +++ b/charts/minecraft-proxy/templates/deployment.yaml @@ -27,6 +27,13 @@ spec: imagePullSecrets: - name: {{ .Values.image.pullSecret }} {{- end }} + {{- if .Values.dnsPolicy }} + dnsPolicy: {{ .Values.dnsPolicy}} + {{- end }} + {{- if .Values.dnsConfig }} + dnsConfig: + {{- toYaml .Values.dnsConfig | nindent 8 }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} initContainers: {{- toYaml .Values.initContainers | nindent 8 }} diff --git a/charts/minecraft-proxy/values.yaml b/charts/minecraft-proxy/values.yaml index cf0b904..cb0336f 100644 --- a/charts/minecraft-proxy/values.yaml +++ b/charts/minecraft-proxy/values.yaml @@ -259,3 +259,9 @@ rconServiceAnnotations: {} # Can allow plugins access to the kubernetes api using a service account # https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ serviceAccountName: + +# dnsPolicy: ClusterFirst +# dnsConfig: +# options: +# - name: ndots +# value: '1' diff --git a/charts/minecraft/Chart.yaml b/charts/minecraft/Chart.yaml index 0d5e8f3..768d46f 100755 --- a/charts/minecraft/Chart.yaml +++ b/charts/minecraft/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft -version: 4.13.0 +version: 4.14.0 appVersion: SeeValues home: https://minecraft.net/ description: Minecraft server diff --git a/charts/minecraft/templates/deployment.yaml b/charts/minecraft/templates/deployment.yaml index b448672..5107cf6 100644 --- a/charts/minecraft/templates/deployment.yaml +++ b/charts/minecraft/templates/deployment.yaml @@ -58,6 +58,13 @@ spec: imagePullSecrets: - name: {{ .Values.image.pullSecret }} {{- end }} + {{- if .Values.dnsPolicy }} + dnsPolicy: {{ .Values.dnsPolicy}} + {{- end }} + {{- if .Values.dnsConfig }} + dnsConfig: + {{- toYaml .Values.dnsConfig | nindent 8 }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} {{- if .Values.initContainers }} diff --git a/charts/minecraft/values.yaml b/charts/minecraft/values.yaml index 0fd3f88..9b926d4 100644 --- a/charts/minecraft/values.yaml +++ b/charts/minecraft/values.yaml @@ -523,3 +523,8 @@ mcbackup: enabled: false # existingClaim: nil Size: 1Gi +# dnsPolicy: ClusterFirst +# dnsConfig: +# options: +# - name: ndots +# value: '1'