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

configure kube api server port (#70)

* configure kube api server port

Signed-off-by: Frank Jogeleit <fj@move-elevator.de>
This commit is contained in:
Frank Jogeleit 2021-09-09 21:01:12 +02:00 committed by GitHub
parent fa17c2bc67
commit 8eae137d4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 8 deletions

View file

@ -1,5 +1,8 @@
# Changelog # Changelog
# 1.9.1
* Configure the Kubernetes API Port for NetworkPolicy
# 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)]
* Customize liveness- and readinessProbe for Policy Reporter [[#67](https://github.com/kyverno/policy-reporter/pull/67) by [windowsrefund](https://github.com/windowsrefund)] * Customize liveness- and readinessProbe for Policy Reporter [[#67](https://github.com/kyverno/policy-reporter/pull/67) by [windowsrefund](https://github.com/windowsrefund)]

View file

@ -7,6 +7,6 @@ dependencies:
version: 1.9.0 version: 1.9.0
- name: kyvernoPlugin - name: kyvernoPlugin
repository: "" repository: ""
version: 0.6.0 version: 0.6.1
digest: sha256:96947793886cef121824fdbc05b1c15df822c86362c04ba3d28255c6dcc85f37 digest: sha256:84d9269f9f276c3448d26968b31b69d593323c733dd1f687ca6f670426d4461b
generated: "2021-09-08T22:06:18.980599+02:00" generated: "2021-09-09T20:35:28.564714+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.0 version: 1.9.1
appVersion: 1.8.5 appVersion: 1.8.5
dependencies: dependencies:
@ -20,4 +20,4 @@ dependencies:
- name: kyvernoPlugin - name: kyvernoPlugin
condition: kyvernoPlugin.enabled condition: kyvernoPlugin.enabled
repository: "" repository: ""
version: "0.6.0" version: "0.6.1"

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.0 version: 0.6.1
appVersion: 0.3.2 appVersion: 0.3.2

View file

@ -23,5 +23,5 @@ spec:
- to: - to:
ports: ports:
- protocol: TCP - protocol: TCP
port: 6443 port: {{ .Values.networkPolicy.kubernetesApiPort }}
{{- end }} {{- end }}

View file

@ -84,3 +84,4 @@ affinity: {}
# used and configured in a default-deny fashion. # used and configured in a default-deny fashion.
networkPolicy: networkPolicy:
enabled: false enabled: false
kubernetesApiPort: 6443

View file

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

View file

@ -76,6 +76,7 @@ resources: {}
networkPolicy: networkPolicy:
enabled: false enabled: false
egress: [] egress: []
kubernetesApiPort: 6443
# enable policy-report-ui # enable policy-report-ui
ui: ui: