This repository was archived by the owner on Sep 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +34
-2
lines changed
Expand file tree Collapse file tree 4 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type: application
1919# to the chart and its templates, including the app version.
2020# Versions are expected to follow Semantic Versioning (https://semver.org/)
2121
22- version : 3.0.3
22+ version : 3.1.0
2323
2424
2525# This is the version number of the application being deployed. This version number should be
Original file line number Diff line number Diff line change 1+ {{- if .Values.security.networkPolicy.enabled -}}
2+ {{- if .Values.ingress.enabled -}}
3+ kind : NetworkPolicy
4+ apiVersion : networking.k8s.io/v1
5+ metadata :
6+ name : {{ include "library-chart.fullname" . }}-2
7+ spec :
8+ podSelector :
9+ matchLabels :
10+ {{- include "library-chart.selectorLabels" . | nindent 6 }}
11+ ingress :
12+ - from :
13+ {{- toYaml .Values.security.networkPolicy.from | nindent 4 }}
14+ policyTypes :
15+ - Ingress
16+ {{- end }}
17+ {{- end }}
Original file line number Diff line number Diff line change 1+ {{- if .Values.security.networkPolicy.enabled -}}
2+ kind : NetworkPolicy
3+ apiVersion : networking.k8s.io/v1
4+ metadata :
5+ name : {{ include "library-chart.fullname" . }}
6+ spec :
7+ podSelector :
8+ matchLabels :
9+ {{- include "library-chart.selectorLabels" . | nindent 6 }}
10+ ingress :
11+ - from :
12+ - podSelector : {}
13+ policyTypes :
14+ - Ingress
15+ {{- end }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ security:
1313 username : " admin"
1414 password : " changeme"
1515 networkPolicy :
16- enable : false
16+ enabled : false
1717 from :
1818 - ipBlock :
1919 cidr : 10.233.103.0/32
You can’t perform that action at this time.
0 commit comments