Skip to content

Commit

Permalink
Update Policy Reporter image (#650)
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
fjogeleit authored Dec 23, 2024
1 parent 67e7177 commit 346cece
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
4 changes: 2 additions & 2 deletions charts/policy-reporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description: |
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord
type: application
version: 3.0.0-rc.13
appVersion: 3.0.0-rc.7
version: 3.0.0-rc.14
appVersion: 3.0.0-rc.9

icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
home: https://kyverno.github.io/policy-reporter
Expand Down
4 changes: 3 additions & 1 deletion charts/policy-reporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Policy Reporter watches for PolicyReport Resources.
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

![Version: 3.0.0-rc.13](https://img.shields.io/badge/Version-3.0.0--rc.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0-rc.7](https://img.shields.io/badge/AppVersion-3.0.0--rc.7-informational?style=flat-square)
![Version: 3.0.0-rc.14](https://img.shields.io/badge/Version-3.0.0--rc.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0-rc.9](https://img.shields.io/badge/AppVersion-3.0.0--rc.9-informational?style=flat-square)

## Documentation

Expand Down Expand Up @@ -391,6 +391,8 @@ Open `http://localhost:8082/` in your browser.
| ui.securityContext.readOnlyRootFilesystem | bool | `true` | |
| ui.securityContext.capabilities.drop[0] | string | `"ALL"` | |
| ui.securityContext.seccompProfile.type | string | `"RuntimeDefault"` | |
| ui.livenessProbe | object | `{"httpGet":{"path":"/healthz","port":"http"}}` | Deployment livenessProbe for policy-reporter-ui |
| ui.readinessProbe | object | `{"httpGet":{"path":"/healthz","port":"http"}}` | Deployment readinessProbe for policy-reporter-ui |
| ui.service.type | string | `"ClusterIP"` | Service type. |
| ui.service.port | int | `8080` | Service port. |
| ui.service.annotations | object | `{}` | Service annotations. |
Expand Down
8 changes: 2 additions & 6 deletions charts/policy-reporter/templates/ui/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,9 @@ spec:
containerPort: {{ .Values.ui.server.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
{{- toYaml .Values.ui.livenessProbe | nindent 12 }}
readinessProbe:
httpGet:
path: /healthz
port: http
{{- toYaml .Values.ui.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.ui.resources | nindent 12 }}
volumeMounts:
Expand Down
12 changes: 12 additions & 0 deletions charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,18 @@ ui:
seccompProfile:
type: RuntimeDefault

# -- Deployment livenessProbe for policy-reporter-ui
livenessProbe:
httpGet:
path: /healthz
port: http

# -- Deployment readinessProbe for policy-reporter-ui
readinessProbe:
httpGet:
path: /healthz
port: http

service:
# -- Service type.
type: ClusterIP
Expand Down

0 comments on commit 346cece

Please sign in to comment.