UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit d3fe0ace authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Adding missing NP for prom scraping istio-proxy metrics

parent e16f36a9
No related branches found
No related tags found
1 merge request!11Istio sidecar NetworkPolicy Addition
This commit is part of merge request !11. Comments created here will be created in the context of that merge request.
......@@ -2,6 +2,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.10.1-bb.1]
### Added
- allow-sidecar-scraping networkpolicy template to allow prometheus to scrape istio-proxy sidecar metrics
## [2.10.1-bb.0]
### Changed
- Updated `chart/` base to upstream chart version `loki-2.10.1`
......
# loki
![Version: 2.10.1-bb.0](https://img.shields.io/badge/Version-2.10.1--bb.0-informational?style=flat-square) ![AppVersion: v2.4.2](https://img.shields.io/badge/AppVersion-v2.4.2-informational?style=flat-square)
![Version: 2.10.1-bb.1](https://img.shields.io/badge/Version-2.10.1--bb.1-informational?style=flat-square) ![AppVersion: v2.4.2](https://img.shields.io/badge/AppVersion-v2.4.2-informational?style=flat-square)
Loki: like Prometheus, but for logs.
......
apiVersion: "v1"
name: loki
version: 2.10.1-bb.0
version: 2.10.1-bb.1
appVersion: v2.4.2
kubeVersion: "^1.10.0-0"
description: "Loki: like Prometheus, but for logs."
......
{{- if and .Values.networkPolicies.enabled .Values.istio.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-loki-sidecar-scraping
namespace: {{ .Release.Namespace }}
spec:
ingress:
- from:
- namespaceSelector:
matchLabels:
app.kubernetes.io/name: monitoring
podSelector:
matchLabels:
app: prometheus
ports:
- port: 15020
protocol: TCP
podSelector:
matchLabels:
app: loki
policyTypes:
- Ingress
{{- end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment