-
Notifications
You must be signed in to change notification settings - Fork 0
chore: housekeeping #598
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
chore: housekeeping #598
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Autodetect text files and forces unix eols, so Windows does not break them | ||
| * text=auto eol=lf | ||
|
|
||
| # Force images/fonts to be handled as binaries | ||
| *.jpg binary | ||
| *.jpeg binary | ||
| *.gif binary | ||
| *.png binary | ||
| *.woff binary | ||
| *.woff2 binary | ||
| *.ttf binary | ||
| *.eot binary |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -112,4 +112,7 @@ test-report.xml | |
| frontend/.env.local | ||
| .idea | ||
| /util/ | ||
| *.http | ||
| *.http | ||
| .claude | ||
| .tokensave | ||
| .copilot-memory | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ | |
| labels: | ||
| {{- include "database.labels" . | nindent 8 }} | ||
| spec: | ||
| terminationGracePeriodSeconds: {{ default 60 .Values.database.terminationGracePeriodSeconds }} | ||
| securityContext: | ||
| runAsNonRoot: true | ||
| seccompProfile: | ||
|
|
@@ -31,27 +32,28 @@ | |
| securityContext: | ||
| allowPrivilegeEscalation: false | ||
| runAsNonRoot: true | ||
| readOnlyRootFilesystem: true | ||
| capabilities: | ||
| drop: | ||
| - ALL | ||
| {{- if $ic.command }} | ||
| command: | ||
| {{- tpl (toYaml $ic.command) $ | nindent 12 }} | ||
| {{- end }} | ||
| {{- if $ic.args }} | ||
| args: | ||
| {{- tpl (toYaml $ic.args) $ | nindent 12 }} | ||
| {{- end }} | ||
| {{- if $ic.resources }} | ||
| resources: | ||
| {{- toYaml $ic.resources | nindent 12 }} | ||
| {{- end }} | ||
| {{- if $ic.volumeMounts }} | ||
| volumeMounts: | ||
| {{- tpl (toYaml $ic.volumeMounts) $ | nindent 12 }} | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- end }} | ||
Check warningCode scanning / Trivy Restrict container images to trusted registries Medium
Artifact: charts/pubcode/templates/database/templates/sfs.yml
Type: helm Vulnerability KSV-0125 Severity: MEDIUM Message: Container database-init in statefulset pubcode-database (namespace: null) uses an image from an untrusted registry. Link: KSV-0125 Check noticeCode scanning / Trivy CPU not limited Low
Artifact: charts/pubcode/templates/database/templates/sfs.yml
Type: helm Vulnerability KSV-0011 Severity: LOW Message: Container 'database-init' of StatefulSet 'pubcode-database' should set 'resources.limits.cpu' Link: KSV-0011 Check noticeCode scanning / Trivy Memory not limited Low
Artifact: charts/pubcode/templates/database/templates/sfs.yml
Type: helm Vulnerability KSV-0018 Severity: LOW Message: Container 'database-init' of StatefulSet 'pubcode-database' should set 'resources.limits.memory' Link: KSV-0018 Check noticeCode scanning / Trivy Runs with UID <= 10000 Low
Artifact: charts/pubcode/templates/database/templates/sfs.yml
Type: helm Vulnerability KSV-0020 Severity: LOW Message: Container 'database-init' of StatefulSet 'pubcode-database' should set 'securityContext.runAsUser' > 10000 Link: KSV-0020 Check noticeCode scanning / Trivy Runs with GID <= 10000 Low
Artifact: charts/pubcode/templates/database/templates/sfs.yml
Type: helm Vulnerability KSV-0021 Severity: LOW Message: Container 'database-init' of StatefulSet 'pubcode-database' should set 'securityContext.runAsGroup' > 10000 Link: KSV-0021 |
||
|
|
||
| containers: | ||
| {{- range $c := .Values.database.containers }} | ||
|
|
@@ -60,6 +62,7 @@ | |
| securityContext: | ||
| allowPrivilegeEscalation: false | ||
| runAsNonRoot: true | ||
| readOnlyRootFilesystem: true | ||
| capabilities: | ||
| drop: | ||
| - ALL | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.