Skip to content

Commit

Permalink
add egress rules
Browse files Browse the repository at this point in the history
Signed-off-by: stranljip <carsten@heidmann.info>
  • Loading branch information
stranljip committed Dec 9, 2024
1 parent 416ec33 commit ffdb1cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 47 deletions.
5 changes: 5 additions & 0 deletions charts/uptime-kuma/templates/netpol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ spec:
{{- if .Values.networkPolicy.ingress }}
- Ingress
{{- end }}
{{- if .Values.networkPolicy.egress }}
- Egress
{{- end }}
egress:
- {}
{{- if .Values.networkPolicy.ingress }}
ingress:
- ports:
Expand Down
47 changes: 0 additions & 47 deletions charts/uptime-kuma/templates/oidc-tables.sql

This file was deleted.

2 changes: 2 additions & 0 deletions charts/uptime-kuma/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ networkPolicy:
enabled: false
# -- Enable/disable Ingress policy type
ingress: true
# -- Enable/disable Egress policy type
egress: true
# -- Allow incoming connections only from specific Pods
# When set to true, the geoserver will accept connections from any source.
# When false, only Pods with the label {{ include "geoserver.fullname" . }}-client=true will have network access
Expand Down

0 comments on commit ffdb1cf

Please sign in to comment.