File tree Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
22name : grafana
3- version : 10.0 .0
3+ version : 10.1 .0
44appVersion : 12.1.1
55kubeVersion : " ^1.8.0-0"
66description : The leading tool for querying and visualizing time series and metrics.
Original file line number Diff line number Diff line change 2424 podSelector :
2525 matchLabels :
2626 {{- include "grafana.selectorLabels" . | nindent 6 }}
27-
2827 {{- if .Values.networkPolicy.egress.enabled }}
2928 egress :
29+ {{- if not .Values.networkPolicy.egress.manualEgress }}
3030 {{- if not .Values.networkPolicy.egress.blockDNSResolution }}
3131 - ports :
3232 - port : 53
3838 to :
3939 {{- toYaml . | nindent 12 }}
4040 {{- end }}
41+ {{- else }}
42+ {{- toYaml .Values.networkPolicy.egress.manualEgress | nindent 4 }}
43+ {{- end }}
4144 {{- end }}
4245 {{- if .Values.networkPolicy.ingress }}
4346 ingress :
Original file line number Diff line number Diff line change @@ -1606,12 +1606,18 @@ networkPolicy:
16061606 # # to:
16071607 # # - namespaceSelector:
16081608 # # matchExpressions:
1609- # # - {key: role, operator: In, values: [grafana]}
1610- # #
1611- # #
1612- # #
1613- # #
1614- # #
1609+ # # - {key: role, operator: In, values: [grafana]}
1610+ # #
1611+ # # @param networkPolicy.egress.manualEgress Manually define all egress rules
1612+ manualEgress : []
1613+ # # E.X.
1614+ # #- to:
1615+ # # - podSelector:
1616+ # # matchLabels:
1617+ # # app.kubernetes.io/name: other-pod
1618+ # # ports:
1619+ # # - protocol: TCP
1620+ # # port: 3000
16151621
16161622# Enable backward compatibility of kubernetes where version below 1.13 doesn't have the enableServiceLinks option
16171623enableKubeBackwardCompatibility : false
You can’t perform that action at this time.
0 commit comments