UNCLASSIFIED

Commit 335a121f authored by Ryan Garcia's avatar Ryan Garcia Committed by kevin.wilder
Browse files

Optimizing Network Policy Templates

parent ee03cebb
# 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
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
......
{{ 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:
......
{{ if .Values.networkPolicies.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
......@@ -17,3 +18,4 @@ spec:
app.kubernetes.io/name: nexus-repository-manager
policyTypes:
- Egress
{{- end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment