mirror of
https://github.com/truenas/charts.git
synced 2026-04-05 11:48:55 +08:00
Update stable train from test train
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
{{/*
|
||||
DNS Configuration
|
||||
*/}}
|
||||
{{- define "dnsConfiguration" }}
|
||||
dnsPolicy: {{ .Values.dnsPolicy }}
|
||||
{{- if .Values.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml .Values.dnsConfig | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -15,7 +15,7 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 2107.0.0
|
||||
version: 2108.0.0
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
@@ -299,6 +299,7 @@ questions:
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
show_if: [["externalInterfaces", "=", []]]
|
||||
|
||||
- variable: hostPortsList
|
||||
label: "Specify host ports for the workload"
|
||||
23
charts/ix-chart/2108.0.0/templates/_networking.tpl
Normal file
23
charts/ix-chart/2108.0.0/templates/_networking.tpl
Normal file
@@ -0,0 +1,23 @@
|
||||
{{/*
|
||||
DNS Configuration
|
||||
*/}}
|
||||
{{- define "dnsConfiguration" }}
|
||||
dnsPolicy: {{ .Values.dnsPolicy }}
|
||||
{{- if .Values.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml .Values.dnsConfig | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{/*
|
||||
Get configuration for host network
|
||||
*/}}
|
||||
{{- define "hostNetworkingConfiguration" -}}
|
||||
{{- $host := default false .Values.hostNetwork -}}
|
||||
{{- if or .Values.externalInterfaces (eq $host false) -}}
|
||||
{{- print "false" -}}
|
||||
{{- else -}}
|
||||
{{- print "true" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -51,7 +51,7 @@ Pod specification
|
||||
*/}}
|
||||
{{- define "podSepc" }}
|
||||
restartPolicy: {{ template "restartPolicy" . }}
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
hostNetwork: {{ template "hostNetworkingConfiguration" . }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
{{- include "volumeMountsConfiguration" . | indent 2}}
|
||||
Reference in New Issue
Block a user