1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00

configure additional eggress rules for kyvernoPlugin and UI

Signed-off-by: Frank Jogeleit <fj@move-elevator.de>
This commit is contained in:
Frank Jogeleit 2021-09-09 21:55:57 +02:00
parent 8eae137d4a
commit 2efad708c4
9 changed files with 21 additions and 10 deletions

View file

@ -1,7 +1,10 @@
# Changelog # Changelog
# 1.9.2
* Add additional egress rules to kyvernoPlugin and UI subchart with `networkPolicy.egress`
# 1.9.1 # 1.9.1
* Configure the Kubernetes API Port for NetworkPolicy * Configure the Kubernetes API Port for NetworkPolicy with `networkPolicy.kubernetesApiPort`
# 1.9.0 # 1.9.0
* Implement NetworkPolicy for Policy Reporter and related Components [[#68](https://github.com/kyverno/policy-reporter/pull/68) by [windowsrefund](https://github.com/windowsrefund)] * Implement NetworkPolicy for Policy Reporter and related Components [[#68](https://github.com/kyverno/policy-reporter/pull/68) by [windowsrefund](https://github.com/windowsrefund)]

View file

@ -4,9 +4,9 @@ dependencies:
version: 1.4.4 version: 1.4.4
- name: ui - name: ui
repository: "" repository: ""
version: 1.9.0 version: 1.9.1
- name: kyvernoPlugin - name: kyvernoPlugin
repository: "" repository: ""
version: 0.6.1 version: 0.6.2
digest: sha256:84d9269f9f276c3448d26968b31b69d593323c733dd1f687ca6f670426d4461b digest: sha256:b58f651ea7774420c8a6a5a80e1d9384f95521d0198a3a14f5491e6430e61498
generated: "2021-09-09T20:35:28.564714+02:00" generated: "2021-09-09T21:51:59.713717+02:00"

View file

@ -5,7 +5,7 @@ description: |
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord
type: application type: application
version: 1.9.1 version: 1.9.2
appVersion: 1.8.5 appVersion: 1.8.5
dependencies: dependencies:
@ -16,8 +16,8 @@ dependencies:
- name: ui - name: ui
condition: ui.enabled condition: ui.enabled
repository: "" repository: ""
version: "1.9.0" version: "1.9.1"
- name: kyvernoPlugin - name: kyvernoPlugin
condition: kyvernoPlugin.enabled condition: kyvernoPlugin.enabled
repository: "" repository: ""
version: "0.6.1" version: "0.6.2"

View file

@ -3,5 +3,5 @@ name: kyvernoPlugin
description: Policy Reporter Kyverno Plugin description: Policy Reporter Kyverno Plugin
type: application type: application
version: 0.6.1 version: 0.6.2
appVersion: 0.3.2 appVersion: 0.3.2

View file

@ -24,4 +24,7 @@ spec:
ports: ports:
- protocol: TCP - protocol: TCP
port: {{ .Values.networkPolicy.kubernetesApiPort }} port: {{ .Values.networkPolicy.kubernetesApiPort }}
{{- with .Values.networkPolicy.egress }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }} {{- end }}

View file

@ -85,3 +85,4 @@ affinity: {}
networkPolicy: networkPolicy:
enabled: false enabled: false
kubernetesApiPort: 6443 kubernetesApiPort: 6443
egress: []

View file

@ -3,5 +3,5 @@ name: ui
description: Policy Reporter UI description: Policy Reporter UI
type: application type: application
version: 1.9.0 version: 1.9.1
appVersion: 0.14.0 appVersion: 0.14.0

View file

@ -20,4 +20,7 @@ spec:
ports: ports:
- protocol: TCP - protocol: TCP
port: {{ .Values.global.port }} port: {{ .Values.global.port }}
{{- with .Values.networkPolicy.egress }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }} {{- end }}

View file

@ -104,3 +104,4 @@ affinity: {}
# used and configured in a default-deny fashion. # used and configured in a default-deny fashion.
networkPolicy: networkPolicy:
enabled: false enabled: false
egress: []