diff --git a/charts/guacamole/templates/database/database-network.yaml b/charts/guacamole/templates/database/database-network.yaml index 87a4286..a08751d 100644 --- a/charts/guacamole/templates/database/database-network.yaml +++ b/charts/guacamole/templates/database/database-network.yaml @@ -18,20 +18,17 @@ spec: - Egress ingress: - - {} -{{/* - from:*/}} -{{/* - podSelector:*/}} -{{/* matchLabels:*/}} -{{/* app: {{ include "guacamole.labels.app" . }}*/}} -{{/* component: web*/}} -{{/* release: {{ .Release.Name }}*/}} -{{/* - podSelector:*/}} -{{/* matchLabels:*/}} -{{/* cnpg.io/cluster: {{ include "guacamole.fullname" . }}-database*/}} -{{/* - podSelector:*/}} -{{/* matchLabels:*/}} -{{/* app: {{ include "guacamole.labels.app" . }}*/}} -{{/* component: controller*/}} -{{/* release: {{ .Release.Name }}*/}} - egress: - - {} \ No newline at end of file + - from: + - podSelector: + matchLabels: + app: {{ include "guacamole.labels.app" . }} + component: web + release: {{ .Release.Name }} + - podSelector: + matchLabels: + cnpg.io/cluster: {{ include "guacamole.fullname" . }}-database + - podSelector: + matchLabels: + app: {{ include "guacamole.labels.app" . }} + component: controller + release: {{ .Release.Name }} \ No newline at end of file