allow apps to access worker
Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com>
This commit is contained in:
+6
@@ -62,6 +62,12 @@ spec:
|
|||||||
kubernetes.io/metadata.name: {{ .Release.Namespace }}
|
kubernetes.io/metadata.name: {{ .Release.Namespace }}
|
||||||
podSelector:
|
podSelector:
|
||||||
matchLabels: {{ include "shuffle.orborus.matchLabels" . | nindent 14 }}
|
matchLabels: {{ include "shuffle.orborus.matchLabels" . | nindent 14 }}
|
||||||
|
# Allow traffic from apps
|
||||||
|
- namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/metadata.name: {{ .Release.Namespace }}
|
||||||
|
podSelector:
|
||||||
|
matchLabels: {{ include "shuffle.app.matchLabels" . | nindent 14 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.worker.networkPolicy.extraIngress }}
|
{{- if .Values.worker.networkPolicy.extraIngress }}
|
||||||
{{- include "common.tplvalues.render" ( dict "value" .Values.worker.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
|
{{- include "common.tplvalues.render" ( dict "value" .Values.worker.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user