File tree Expand file tree Collapse file tree
airflow/2/chart/airflow/templates/web
flink/1.17/chart/flink/templates
kafka/3.6/chart/kafka/templates/network-policy
minio/2023/chart/minio/templates
opensearch/2.10/chart/opensearch/templates
rabbitmq/3.12/chart/rabbitmq/templates
redis-cluster/7.0/chart/redis-cluster/templates
redis/7.0/chart/redis/templates
spark/3.4/chart/spark/templates
zookeeper/3.9/chart/zookeeper/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 matchLabels : {{- include "common.labels.matchLabels" . | nindent 6 }}
1818 app.kubernetes.io/component : web
1919 ingress :
20+ {{- if eq .Values.service.type "LoadBalancer" }}
21+ - {}
22+ {{- else }}
2023 {{- if or .Values.networkPolicy.allowCurrentNamespace .Values.networkPolicy.allowNamespaces }}
2124 - from :
2225 {{- if .Values.networkPolicy.allowCurrentNamespace }}
3235 {{- end }}
3336 {{- end }}
3437 {{- end }}
38+ {{- end }}
3539{{- end }}
Original file line number Diff line number Diff line change 5959 {{- end }}
6060 {{- end }}
6161 ingress :
62+ {{- if eq .Values.jobmanager.service.type "LoadBalancer" }}
63+ - {}
64+ {{- else }}
6265 - ports :
6366 - port : {{ .Values.jobmanager.containerPorts.blob }}
6467 - port : {{ .Values.jobmanager.containerPorts.rpc }}
9194 {{- if .Values.jobmanager.networkPolicy.extraIngress }}
9295 {{- include "common.tplvalues.render" ( dict "value" .Values.jobmanager.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
9396 {{- end }}
97+ {{- end }}
9498{{- end }}
Original file line number Diff line number Diff line change 5959 {{- end }}
6060 {{- end }}
6161 ingress :
62+ {{- if eq .Values.taskmanager.service.type "LoadBalancer" }}
63+ - {}
64+ {{- else }}
6265 - ports :
6366 - port : {{ .Values.taskmanager.containerPorts.data }}
6467 - port : {{ .Values.taskmanager.containerPorts.rpc }}
9093 {{- if .Values.taskmanager.networkPolicy.extraIngress }}
9194 {{- include "common.tplvalues.render" ( dict "value" .Values.taskmanager.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
9295 {{- end }}
96+ {{- end }}
9397{{- end }}
Original file line number Diff line number Diff line change 1919 policyTypes :
2020 - Ingress
2121 ingress :
22+ {{- if eq .Values.service.type "LoadBalancer" }}
23+ - {}
24+ {{- else }}
2225 # Allow client connections
2326 - ports :
2427 - port : {{ .Values.listeners.client.containerPort }}
5659 - ports :
5760 - port : {{ .Values.metrics.kafka.containerPorts.metrics }}
5861 {{- end }}
62+ {{- end }}
5963{{- end }}
Original file line number Diff line number Diff line change 1515 podSelector :
1616 matchLabels : {{- include "common.labels.matchLabels" . | nindent 6 }}
1717 ingress :
18+ {{- if eq .Values.service.type "LoadBalancer" }}
19+ - {}
20+ {{- else }}
1821 # Allow inbound connections
1922 - ports :
2023 - port : {{ .Values.containerPorts.console }}
4245 {{- toYaml .Values.networkPolicy.extraFromClauses | nindent 8 }}
4346 {{- end }}
4447 {{- end }}
48+ {{- end }}
4549{{- end }}
Original file line number Diff line number Diff line change 4343 {{- include "common.tplvalues.render" ( dict "value" .Values.dashboards.networkPolicy.extraEgress "context" $ ) | nindent 4 }}
4444 {{- end }}
4545 ingress :
46+ {{- if eq .Values.dashboards.service.type "LoadBalancer" }}
47+ - {}
48+ {{- else }}
4649 - ports :
4750 - port : {{ .Values.service.ports.restAPI }}
4851 - port : {{ .Values.service.ports.transport }}
8285 {{- if .Values.dashboards.networkPolicy.extraIngress }}
8386 {{- include "common.tplvalues.render" ( dict "value" .Values.dashboards.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
8487 {{- end }}
88+ {{- end }}
8589{{- end }}
Original file line number Diff line number Diff line change 4343 {{- include "common.tplvalues.render" ( dict "value" .Values.ingest.networkPolicy.extraEgress "context" $ ) | nindent 4 }}
4444 {{- end }}
4545 ingress :
46+ {{- if eq .Values.ingest.service.type "LoadBalancer" }}
47+ - {}
48+ {{- else }}
4649 - ports :
4750 - port : {{ .Values.service.ports.restAPI }}
4851 - port : {{ .Values.service.ports.transport }}
8184 {{- if .Values.ingest.networkPolicy.extraIngress }}
8285 {{- include "common.tplvalues.render" ( dict "value" .Values.ingest.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
8386 {{- end }}
87+ {{- end }}
8488{{- end }}
Original file line number Diff line number Diff line change 4343 {{- include "common.tplvalues.render" ( dict "value" .Values.master.networkPolicy.extraEgress "context" $ ) | nindent 4 }}
4444 {{- end }}
4545 ingress :
46+ {{- if eq .Values.service.type "LoadBalancer" }}
47+ - {}
48+ {{- else }}
4649 - ports :
4750 - port : {{ .Values.service.ports.restAPI }}
4851 - port : {{ .Values.service.ports.transport }}
8184 {{- if .Values.master.networkPolicy.extraIngress }}
8285 {{- include "common.tplvalues.render" ( dict "value" .Values.master.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
8386 {{- end }}
87+ {{- end }}
8488{{- end }}
Original file line number Diff line number Diff line change 1515 podSelector :
1616 matchLabels : {{- include "common.labels.matchLabels" . | nindent 6 }}
1717 ingress :
18+ {{- if eq .Values.service.type "LoadBalancer" }}
19+ - {}
20+ {{- else }}
1821 # Allow inbound connections
1922 - ports :
2023 - port : {{ .Values.service.ports.epmd }} # EPMD
5154 # Allow prometheus scrapes
5255 - ports :
5356 - port : {{ .Values.service.ports.metrics }}
57+ {{- end }}
5458{{- end }}
Original file line number Diff line number Diff line change 3232 - podSelector :
3333 matchLabels : {{- include "common.labels.matchLabels" . | nindent 14 }}
3434 ingress :
35+ {{- if eq .Values.service.type "LoadBalancer" }}
36+ - {}
37+ {{- else }}
3538 # Allow inbound connections
3639 - ports :
3740 - port : {{ .Values.redis.containerPorts.redis }}
7578 - ports :
7679 - port : 9121
7780 {{- end }}
81+ {{- end }}
7882{{- end }}
You can’t perform that action at this time.
0 commit comments