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
Security Tools
Twistlock
Commits
509930aa
Commit
509930aa
authored
Aug 26, 2021
by
Branden Cobb
Browse files
Add new file
parent
7ca717ff
Pipeline
#444350
passed with stages
in 3 minutes and 43 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
chart/templates/networkpolicies/allow-sidecar-scraping.yaml
chart/templates/networkpolicies/allow-sidecar-scraping.yaml
+22
-0
No files found.
chart/templates/networkpolicies/allow-sidecar-scraping.yaml
0 → 100644
View file @
509930aa
{{
- if and .Values.networkPolicies.enabled .Values.istio.enabled
}}
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
name
:
allow-sidecar-scraping
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
}}
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