UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
Nexus
Commits
335a121f
Commit
335a121f
authored
Jun 11, 2021
by
Ryan Garcia
Committed by
kevin.wilder
Jun 11, 2021
Browse files
Optimizing Network Policy Templates
parent
ee03cebb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
CHANGELOG.md
CHANGELOG.md
+9
-4
chart/Chart.yaml
chart/Chart.yaml
+1
-1
chart/templates/bigbang/networkpolicies/istio.yaml
chart/templates/bigbang/networkpolicies/istio.yaml
+5
-3
chart/templates/bigbang/networkpolicies/kube-api-egress.yaml
chart/templates/bigbang/networkpolicies/kube-api-egress.yaml
+3
-1
No files found.
CHANGELOG.md
View file @
335a121f
# Changelog
## [29.1.0-bb.4]
### Changed
-
kube-api network policy toggle
-
istio network policy stricter podSelector values
## [29.1.0-bb.3] - 2021-06-08
### Modified
-
Modified CI tests to use new library and infrastructure
...
...
@@ -8,7 +13,7 @@
-
Network policy for helm-tests to save artifacts
## [29.1.0-bb.2]
# Added
*
default-deny-all network policy
*
istio network policy
*
monitoring network policy
##
# Added
-
default-deny-all network policy
-
istio network policy
-
monitoring network policy
chart/Chart.yaml
View file @
335a121f
apiVersion
:
v2
name
:
nexus-repository-manager
version
:
29.1.0-bb.
3
version
:
29.1.0-bb.
4
appVersion
:
3.29.0
description
:
Sonatype Nexus Repository Manager - Universal Binary repository
type
:
application
...
...
chart/templates/bigbang/networkpolicies/istio.yaml
View file @
335a121f
{{
if .Values.networkPolicies.enabled
}}
{{
if
and
.Values.networkPolicies.enabled
.Values.istio.enabled
}}
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
name
:
allow-
to
-istio-ingressgateway
name
:
allow-
from
-istio-ingressgateway
namespace
:
{{
.Release.Namespace
}}
spec
:
podSelector
:
{}
podSelector
:
matchLabels
:
app.kubernetes.io/name
:
nexus-repository-manager
policyTypes
:
-
Ingress
ingress
:
...
...
chart/templates/bigbang/networkpolicies/kube-api-egress.yaml
View file @
335a121f
{{
if .Values.networkPolicies.enabled
}}
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
...
...
@@ -16,4 +17,5 @@ spec:
matchLabels
:
app.kubernetes.io/name
:
nexus-repository-manager
policyTypes
:
-
Egress
\ No newline at end of file
-
Egress
{{
- end
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment