Do not setup nodeport services with hostnetwork for ix-chart

This commit is contained in:
M. Rehan
2022-06-06 17:49:56 +05:00
parent 52d551905c
commit 120f7c116d
36 changed files with 8 additions and 6 deletions

View File

@@ -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: 2201.0.0
version: 2206.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

View File

@@ -352,6 +352,7 @@ questions:
description: "Specify ports of node and workload to forward traffic from node port to workload port"
schema:
type: list
show_if: [["hostNetwork", "=", false]]
items:
- variable: portForwarding
label: "Port Forwarding Configuration"

View File

@@ -1,4 +1,4 @@
{{- if .Values.portForwardingList }}
{{- if and (.Values.portForwardingList) (eq (include "hostNetworkingConfiguration" .) "false") }}
apiVersion: v1
kind: Service
metadata:
@@ -17,4 +17,4 @@ spec:
{{- end }}
selector:
{{- include "ix-chart.selectorLabels" . | nindent 4 }}
{{- end }}
{{- end }}

View File

@@ -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: 2201.0.0
version: 2206.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

View File

@@ -352,6 +352,7 @@ questions:
description: "Specify ports of node and workload to forward traffic from node port to workload port"
schema:
type: list
show_if: [["hostNetwork", "=", false]]
items:
- variable: portForwarding
label: "Port Forwarding Configuration"

View File

@@ -1,4 +1,4 @@
{{- if .Values.portForwardingList }}
{{- if and (.Values.portForwardingList) (eq (include "hostNetworkingConfiguration" .) "false") }}
apiVersion: v1
kind: Service
metadata:
@@ -17,4 +17,4 @@ spec:
{{- end }}
selector:
{{- include "ix-chart.selectorLabels" . | nindent 4 }}
{{- end }}
{{- end }}