-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dharmit Shah <[email protected]>
- Loading branch information
Showing
4 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
Binary file modified
BIN
-652 Bytes
(100%)
assets/rancher-monitoring/rancher-monitoring-104.1.1-rc1+up57.0.3.tgz
Binary file not shown.
19 changes: 19 additions & 0 deletions
19
...1.1-rc1+up57.0.3/templates/rancher-monitoring/exporters/ingress-nginx/network-policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if .Values.rke2IngressNginx.networkPolicy.enabled }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
annotations: | ||
np.rke2.io/ingress: resolved | ||
name: rke2-ingress-network-policy | ||
namespace: {{ .Values.rke2IngressNginx.namespaceOverride }} | ||
spec: | ||
ingress: | ||
- ports: | ||
- port: {{ .Values.rke2IngressNginx.metricsPort }} | ||
protocol: TCP | ||
podSelector: | ||
matchLabels: | ||
app.kubernetes.io/name: rke2-ingress-nginx | ||
policyTypes: | ||
- Ingress | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters