Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/grafana/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: grafana
version: 10.0.0
version: 10.1.0
appVersion: 12.1.1
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
Expand Down
5 changes: 4 additions & 1 deletion charts/grafana/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ spec:
podSelector:
matchLabels:
{{- include "grafana.selectorLabels" . | nindent 6 }}

{{- if .Values.networkPolicy.egress.enabled }}
egress:
{{- if not .Values.networkPolicy.egress.manualEgress }}
{{- if not .Values.networkPolicy.egress.blockDNSResolution }}
- ports:
- port: 53
Expand All @@ -38,6 +38,9 @@ spec:
to:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- else }}
{{- toYaml .Values.networkPolicy.egress.manualEgress | nindent 4 }}
{{- end }}
{{- end }}
{{- if .Values.networkPolicy.ingress }}
ingress:
Expand Down
18 changes: 12 additions & 6 deletions charts/grafana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1606,12 +1606,18 @@ networkPolicy:
## to:
## - namespaceSelector:
## matchExpressions:
## - {key: role, operator: In, values: [grafana]}
##
##
##
##
##
## - {key: role, operator: In, values: [grafana]}
##
## @param networkPolicy.egress.manualEgress Manually define all egress rules
manualEgress: []
## E.X.
##- to:
## - podSelector:
## matchLabels:
## app.kubernetes.io/name: other-pod
## ports:
## - protocol: TCP
## port: 3000

# Enable backward compatibility of kubernetes where version below 1.13 doesn't have the enableServiceLinks option
enableKubeBackwardCompatibility: false
Expand Down