UNCLASSIFIED

Commit 43b61263 authored by Branden Cobb's avatar Branden Cobb
Browse files

Merge branch 'prometheus-net-policy' into 'main'

Prometheus net policy

See merge request !9
parents da60ed9c 715b5516
Pipeline #343474 failed with stages
in 5 minutes and 21 seconds
# Changelog
---
## [29.1.0-bb.5] - 2021-06-30
### Added
- Network policy to allow prometheus scraping of istio envoy sidecar
## [29.1.0-bb.4]
### Changed
- kube-api network policy toggle
......
apiVersion: v2
name: nexus-repository-manager
version: 29.1.0-bb.4
version: 29.1.0-bb.5
appVersion: 3.29.0
description: Sonatype Nexus Repository Manager - Universal Binary repository
type: application
......
{{- if and .Values.networkPolicies.enabled .Values.monitoring.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-ingress-prometheus
namespace: {{ .Release.Namespace }}
spec:
podSelector: {}
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
app.kubernetes.io/name: monitoring
podSelector:
matchLabels:
app: prometheus
ports:
- protocol: TCP
port: 15020
{{- 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