Skip to content

Commit

Permalink
test: lock down database pod
Browse files Browse the repository at this point in the history
  • Loading branch information
rdash99 committed Apr 4, 2024
1 parent 8723cb3 commit 320a099
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions charts/guacamole/templates/database/database-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
- {}
- 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 }}

0 comments on commit 320a099

Please sign in to comment.