Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

chore(ui): test #1988

Closed
wants to merge 6 commits into from
Closed
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 installation/kubernetes/helm/vmclarity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ secrets.
| ui.image.registry | string | `"ghcr.io"` | UI image registry |
| ui.image.repository | string | `"openclarity/vmclarity-ui"` | UI image repository |
| ui.image.tag | string | `"latest"` | UI image tag |
| ui.podSecurityContext.enabled | bool | `false` | Pod security context enabled |
| ui.podSecurityContext.enabled | bool | `true` | Pod security context enabled |
| ui.podSecurityContext.fsGroup | int | `101` | Pod security context fsGroup |
| ui.replicas | int | `1` | Number of replicas for the UI service |
| ui.resources.limits | object | `{}` | The resources limits for the UI containers |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,13 @@ spec:
name: tmpfs-1
- mountPath: /var/cache/nginx
name: tmpfs-2
- mountPath: /tmp
name: tmpfs-3
volumes:
- name: tmpfs-1
emptyDir: {}
- name: tmpfs-2
emptyDir: {}
- name: tmpfs-3
emptyDir: {}
serviceAccountName: {{ include "vmclarity.ui.serviceAccountName" . }}
2 changes: 1 addition & 1 deletion installation/kubernetes/helm/vmclarity/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ ui:

podSecurityContext:
# -- Pod security context enabled
enabled: false
enabled: true
# -- Pod security context fsGroup
fsGroup: 101

Expand Down
2 changes: 1 addition & 1 deletion ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/src/ui/node_modules \
RUN --mount=type=cache,target=/src/ui/node_modules \
npm run build --prefix /src/ui

FROM nginx:1.27.0@sha256:6af79ae5de407283dcea8b00d5c37ace95441fd58a8b1d2aa1ed93f5511bb18c
FROM nginxinc/nginx-unprivileged:1.27.0

COPY --from=site-build ["/src/ui/build", "/usr/share/nginx/html"]

Expand Down
Loading