Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UI Image and Go to 1.24 #770

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.24 AS builder

ARG LD_FLAGS='-s -w -linkmode external -extldflags "-static"'
ARG TARGETPLATFORM
Expand Down
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.3
appVersion: 3.0.0
version: 3.0.4
appVersion: 3.0.1

icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
home: https://kyverno.github.io/policy-reporter
Expand Down
6 changes: 4 additions & 2 deletions 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.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
![Version: 3.0.4](https://img.shields.io/badge/Version-3.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.1](https://img.shields.io/badge/AppVersion-3.0.1-informational?style=flat-square)

## Documentation

Expand Down Expand Up @@ -339,7 +339,7 @@ Open `http://localhost:8082/` in your browser.
| ui.image.registry | string | `"ghcr.io"` | Image registry |
| ui.image.repository | string | `"kyverno/policy-reporter-ui"` | Image repository |
| ui.image.pullPolicy | string | `"IfNotPresent"` | Image PullPolicy |
| ui.image.tag | string | `"2.0.1"` | Image tag |
| ui.image.tag | string | `"2.1.0"` | Image tag |
| ui.replicaCount | int | `1` | Deployment replica count |
| ui.tempDir | string | `"/tmp"` | Temporary Directory to persist session data for authentication |
| ui.logging.api | bool | `false` | Enables external api request logging |
Expand All @@ -365,6 +365,8 @@ Open `http://localhost:8082/` in your browser.
| ui.oauth.scopes | list | `[]` | OpenID Connect allowed Scopes |
| ui.oauth.secretRef | string | `""` | Provide OpenID Connect configuration via Secret supported keys: `provider`, `clientId`, `clientSecret` |
| ui.banner | string | `""` | optional banner text |
| ui.logo.path | string | `""` | custom logo path |
| ui.logo.disabled | bool | `false` | disable logo entirely |
| ui.displayMode | string | `""` | DisplayMode dark/light/colorblind/colorblinddark uses the OS configured prefered color scheme as default |
| ui.boards | object | `{}` | Configure access control for all default boards. |
| ui.customBoards | list | `[]` | Additional customizable dashboards |
Expand Down
3 changes: 3 additions & 0 deletions charts/policy-reporter/configs/ui.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ server:
ui:
displayMode: {{ .Values.ui.displayMode }}
banner: {{ .Values.ui.banner }}
logo:
path: {{ .Values.ui.logo.path }}
disabled: {{ .Values.ui.logo.disabled }}

{{- $default := false -}}
{{- range .Values.ui.clusters }}
Expand Down
8 changes: 7 additions & 1 deletion charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ ui:
# -- (string) Image PullPolicy
pullPolicy: IfNotPresent
# -- (string) Image tag
tag: "2.0.1"
tag: "2.1.0"

# -- Deployment replica count
replicaCount: 1
Expand Down Expand Up @@ -918,6 +918,12 @@ ui:
# -- optional banner text
banner: ""

logo:
# -- custom logo path
path: ""
# -- disable logo entirely
disabled: false

# -- DisplayMode dark/light/colorblind/colorblinddark
# uses the OS configured prefered color scheme as default
displayMode: ""
Expand Down