Skip to content

Commit

Permalink
Merge branch 'main' into legal_docs_update
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszbarwicki committed Jun 14, 2024
2 parents 85879aa + e0696bc commit 47bc728
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ WORKDIR /app
COPY ./web /app/web
COPY --from=builder --chown=nonroot:nonroot /app/dashboard /app/dashboard

RUN adduser -u 1000 --disabled-password --gecos "" --no-create-home nonroot
USER nonroot

ENTRYPOINT ["/app/dashboard"]

CMD ["-in-cluster=true"]
CMD ["-in-cluster=true"]
2 changes: 1 addition & 1 deletion charts/app-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.7
version: 1.0.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/app-dashboard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "app-dashboard.serviceAccountName" . }}
securityContext:
runAsUser: 1000
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down

0 comments on commit 47bc728

Please sign in to comment.