Resolve Linting Errors
Resolv errors appearing in linting
$ trunk check --all --ci
ISSUES
.github/workflows/ci.yml:6:12
6:12 high string value is redundantly quoted with any quotes yamllint/quoted-strings
59:18 high string value is redundantly quoted with any quotes yamllint/quoted-strings
90:18 high string value is redundantly quoted with any quotes yamllint/quoted-strings
140:18 high string value is redundantly quoted with any quotes yamllint/quoted-strings
185:1 high Ensure top-level permissions are not set to write-all checkov/CKV2_GHA_1
.gitlab-ci.yml:25:23
25:23 high string value is redundantly quoted with any quotes yamllint/quoted-strings
139:13 high string value is redundantly quoted with any quotes yamllint/quoted-strings
161:13 high string value is redundantly quoted with any quotes yamllint/quoted-strings
233:11 high string value is redundantly quoted with any quotes yamllint/quoted-strings
233:27 high string value is redundantly quoted with any quotes yamllint/quoted-strings
270:11 high string value is redundantly quoted with any quotes yamllint/quoted-strings
270:27 high string value is redundantly quoted with any quotes yamllint/quoted-strings
270:42 high string value is redundantly quoted with any quotes yamllint/quoted-strings
319:11 high string value is redundantly quoted with any quotes yamllint/quoted-strings
319:29 high string value is redundantly quoted with any quotes yamllint/quoted-strings
Dockerfile:1:1
1:1 high Ensure that a user for the container has been created checkov/CKV_DOCKER_3
1:1 high Ensure that HEALTHCHECK instructions have been added to container images checkov/CKV_DOCKER_2
bin/setup:32:4
32:4 low Prefer [[ ]] over [ ] for tests in Bash/Ksh. shellcheck/SC2292
40:4 low Prefer [[ ]] over [ ] for tests in Bash/Ksh. shellcheck/SC2292
49:11 low Prefer putting braces around variable references even when not strictly required. shellcheck/SC2250
50:36 low Prefer putting braces around variable references even when not strictly required. shellcheck/SC2250
config/storimount.yaml:19:17
19:17 high string value is redundantly quoted with any quotes yamllint/quoted-strings
20:15 high string value is redundantly quoted with any quotes yamllint/quoted-strings
23:12 high string value is redundantly quoted with any quotes yamllint/quoted-strings
24:1 high Base64 High Entropy String checkov/CKV_SECRET_6
24:15 high string value is redundantly quoted with any quotes yamllint/quoted-strings
deploy/helm/storimount/Chart.yaml:6:13
6:13 high string value is redundantly quoted with any quotes yamllint/quoted-strings
deploy/helm/storimount/templates/configmap.yaml:4:46
4:46 high syntax error: expected <block end>, but found '<scalar>' yamllint/syntax
deploy/helm/storimount/templates/deployment.yaml:6:7
6:7 high syntax error: expected the node content, but found '-' yamllint/syntax
deploy/helm/storimount/templates/ingress.yaml:1:3
1:3 high syntax error: expected the node content, but found '-' yamllint/syntax
deploy/helm/storimount/templates/pvc.yaml:1:3
1:3 high syntax error: expected the node content, but found '-' yamllint/syntax
deploy/helm/storimount/templates/secret.yaml:6:7
6:7 high syntax error: expected the node content, but found '-' yamllint/syntax
deploy/helm/storimount/templates/service.yaml:5:15
5:15 high syntax error: expected the node content, but found '-' yamllint/syntax
deploy/helm/storimount/templates/tests/test-connection.yaml:4:22
4:22 high syntax error: expected <block end>, but found '<scalar>' yamllint/syntax
13:17 high string value is redundantly quoted with any quotes yamllint/quoted-strings
deploy/helm/storimount/values.yaml:7:8
7:8 high string value is redundantly quoted with any quotes yamllint/quoted-strings
18:12 high string value is redundantly quoted with any quotes yamllint/quoted-strings
deploy/scripts/deploy-webhook.sh:9:5
9:5 low Prefer putting braces around variable references even when not strictly required. shellcheck/SC2250
docker-compose.prod.yml:35:9
35:9 high string value is redundantly quoted with any quotes yamllint/quoted-strings
36:9 high string value is redundantly quoted with any quotes yamllint/quoted-strings
44:14 high string value is redundantly quoted with any quotes yamllint/quoted-strings
44:21 high string value is redundantly quoted with any quotes yamllint/quoted-strings
44:30 high string value is redundantly quoted with any quotes yamllint/quoted-strings
51:17 high empty value in block mapping yamllint/empty-values
52:22 high empty value in block mapping yamllint/empty-values
53:14 high empty value in block mapping yamllint/empty-values
54:16 high empty value in block mapping yamllint/empty-values
docker-compose.yml:36:15
36:15 high string value is redundantly quoted with any quotes yamllint/quoted-strings
47:15 high string value is redundantly quoted with any quotes yamllint/quoted-strings
48:15 high string value is redundantly quoted with any quotes yamllint/quoted-strings
55:20 high string value is redundantly quoted with any quotes yamllint/quoted-strings
55:27 high string value is redundantly quoted with any quotes yamllint/quoted-strings
55:33 high string value is redundantly quoted with any quotes yamllint/quoted-strings
55:42 high string value is redundantly quoted with any quotes yamllint/quoted-strings
73:19 high empty value in block mapping yamllint/empty-values
74:19 high empty value in block mapping yamllint/empty-values
75:16 high empty value in block mapping yamllint/empty-values
76:16 high empty value in block mapping yamllint/empty-values
package-lock.json:15:0
15:0 medium 'DOMPurify' contains a Cross-site Scripting vulnerability. Current osv-scanner/GHSA-v2wj-7wpq-c8vv
version is vulnerable: 3.3.1.
3053:0 high 'Rollup' 4 has Arbitrary File Write via Path Traversal. Current osv-scanner/GHSA-mw96-cpmx-2vgc
version is vulnerable: 4.57.1.
6102:0 high 'minimatch' has a ReDoS via repeated wildcards with non-matching osv-scanner/GHSA-3ppc-4f35-3m26
literal in pattern. Current version is vulnerable: 9.0.1.
6102:0 high 'minimatch' ReDoS: nested *() extglobs generate catastrophically osv-scanner/GHSA-23c5-xmqv-rm74
backtracking regular expressions. Current version is vulnerable:
9.0.1.
6102:0 high 'minimatch' has ReDoS: matchOne() combinatorial backtracking via osv-scanner/GHSA-7r86-cg39-jmmj
multiple non-adjacent GLOBSTAR segments. Current version is
vulnerable: 9.0.1.
6685:0 high 'minimatch' has ReDoS: matchOne() combinatorial backtracking via osv-scanner/GHSA-7r86-cg39-jmmj
multiple non-adjacent GLOBSTAR segments. Current version is
vulnerable: 5.1.6.
6685:0 high 'minimatch' has a ReDoS via repeated wildcards with non-matching osv-scanner/GHSA-3ppc-4f35-3m26
literal in pattern. Current version is vulnerable: 5.1.6.
6685:0 high 'minimatch' ReDoS: nested *() extglobs generate catastrophically osv-scanner/GHSA-23c5-xmqv-rm74
backtracking regular expressions. Current version is vulnerable:
5.1.6.
7113:0 high 'minimatch' ReDoS: nested *() extglobs generate catastrophically osv-scanner/GHSA-23c5-xmqv-rm74
backtracking regular expressions. Current version is vulnerable:
9.0.5.
7113:0 high 'minimatch' has a ReDoS via repeated wildcards with non-matching osv-scanner/GHSA-3ppc-4f35-3m26
literal in pattern. Current version is vulnerable: 9.0.5.
7113:0 high 'minimatch' has ReDoS: matchOne() combinatorial backtracking via osv-scanner/GHSA-7r86-cg39-jmmj
multiple non-adjacent GLOBSTAR segments. Current version is
vulnerable: 9.0.5.
9358:0 high 'glob' CLI: Command injection via -c/--cmd executes matches with osv-scanner/GHSA-5j98-mcp5-4vw2
shell:true. Current version is vulnerable: 10.4.5.
9401:0 high node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink osv-scanner/GHSA-34x7-hfp2-rc4v
Path Traversal. Current version is vulnerable: 6.2.1.
9401:0 high Arbitrary File Read/Write via Hardlink Target Escape Through Symlink osv-scanner/GHSA-83g3-92jg-28cx
Chain in node-tar Extraction. Current version is vulnerable: 6.2.1.
9401:0 high node-tar is Vulnerable to Arbitrary File Overwrite and Symlink osv-scanner/GHSA-8qq5-rm4j-mr97
Poisoning via Insufficient Path Sanitization. Current version is
vulnerable: 6.2.1.
9401:0 high 'tar' has Hardlink Path Traversal via Drive-Relative Linkpath. osv-scanner/GHSA-qffp-2rhf-9h96
Current version is vulnerable: 6.2.1.
9401:0 high Race Condition in node-tar Path Reservations via Unicode Ligature osv-scanner/GHSA-r6q2-hw4h-h46w
Collisions on macOS APFS. Current version is vulnerable: 6.2.1.
9962:0 high 'tar' has Hardlink Path Traversal via Drive-Relative Linkpath. osv-scanner/GHSA-qffp-2rhf-9h96
Current version is vulnerable: 7.4.3.
9962:0 high Race Condition in node-tar Path Reservations via Unicode Ligature osv-scanner/GHSA-r6q2-hw4h-h46w
Collisions on macOS APFS. Current version is vulnerable: 7.4.3.
9962:0 high node-tar is Vulnerable to Arbitrary File Overwrite and Symlink osv-scanner/GHSA-8qq5-rm4j-mr97
Poisoning via Insufficient Path Sanitization. Current version is
vulnerable: 7.4.3.
9962:0 high Arbitrary File Read/Write via Hardlink Target Escape Through Symlink osv-scanner/GHSA-83g3-92jg-28cx
Chain in node-tar Extraction. Current version is vulnerable: 7.4.3.
9962:0 high node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink osv-scanner/GHSA-34x7-hfp2-rc4v
Path Traversal. Current version is vulnerable: 7.4.3.
11155:0 low jsdiff has a Denial of Service vulnerability in parsePatch and osv-scanner/GHSA-73rr-hh4g-fpgx
applyPatch. Current version is vulnerable: 5.2.0.
13340:0 high Serialize JavaScript is Vulnerable to RCE via RegExp.flags and osv-scanner/GHSA-5c6j-r48x-rmvq
Date.prototype.toISOString(). Current version is vulnerable: 6.0.2.
15210:0 high 'Rollup' 4 has Arbitrary File Write via Path Traversal. Current osv-scanner/GHSA-mw96-cpmx-2vgc
version is vulnerable: 2.79.2.
15384:0 high 'minimatch' ReDoS: nested *() extglobs generate catastrophically osv-scanner/GHSA-23c5-xmqv-rm74
backtracking regular expressions. Current version is vulnerable:
10.2.0.
15384:0 high 'minimatch' has a ReDoS via repeated wildcards with non-matching osv-scanner/GHSA-3ppc-4f35-3m26
literal in pattern. Current version is vulnerable: 10.2.0.
15384:0 high 'minimatch' has ReDoS: matchOne() combinatorial backtracking via osv-scanner/GHSA-7r86-cg39-jmmj
multiple non-adjacent GLOBSTAR segments. Current version is
vulnerable: 10.2.0.
renovate.json:0:0
0:0 high renovate/error
resources/js/i18n/locales/de.json:72:1
72:1 high Base64 High Entropy String checkov/CKV_SECRET_6
75:1 high Base64 High Entropy String checkov/CKV_SECRET_6
232:1 high Base64 High Entropy String checkov/CKV_SECRET_6
FAILURES
prettier deploy/helm/storimount/templates/configmap.yaml .trunk/out/uz4Be.yaml
prettier deploy/helm/storimount/templates/deployment.yaml .trunk/out/Mhr56.yaml
prettier deploy/helm/storimount/templates/ingress.yaml .trunk/out/dxSsM.yaml
prettier deploy/helm/storimount/templates/pvc.yaml .trunk/out/0v9L9.yaml
prettier deploy/helm/storimount/templates/secret.yaml .trunk/out/INNea.yaml
prettier deploy/helm/storimount/templates/tests/test-connection.yaml .trunk/out/1UXh9.yaml
markdownlint CHANGELOG.md... (28 files) .trunk/out/ciiee.yaml
NOTICES
Some tools failed to run. You can open the details yaml files for more information.
Checked 348 files
✖ 35 security issues
✖ 55 lint issues (5 auto-fixable)
# .trunk/out/uz4Be.yaml
trunk_cli_version: 1.25.0
title: prettier exited with exit_code=2
report:
- prettier exited with exit_code=2
- linter:
command: |
/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/configmap.yaml
stdin_path: (none)
run_from: /tmp/trunk-0/7csyM8/00raXl
timeout: 10m
rerun: (cd /tmp/trunk-0/7csyM8/00raXl; env -i PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3/bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root NODE_PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules /root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/configmap.yaml)
affects_cache:
- package.json
- .editorconfig
direct_configs:
[]
exit_status: exited
exit_code: 2
stdout: (none)
stderr: |
[error] deploy/helm/storimount/templates/configmap.yaml: SyntaxError: All collection items must start at the same column (4:3)
[error] 2 | kind: ConfigMap
[error] 3 | metadata:
[error] > 4 | name: {{ include "storimount.fullname" . }}-config
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 5 | labels:
[error] | ^^^^^^^^^
[error] > 6 | {{- include "storimount.labels" . | nindent 4 }}
[error] | ^^^^^^^^^
[error] > 7 | data:
[error] | ^
[error] 8 | storimount.yaml: |
[error] 9 | {{- .Values.config | nindent 4 }}
[error] 10 |
parser: |
(none)
# .trunk/out/Mhr56.yaml
trunk_cli_version: 1.25.0
title: prettier exited with exit_code=2
report:
- prettier exited with exit_code=2
- linter:
command: |
/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/deployment.yaml
stdin_path: (none)
run_from: /tmp/trunk-0/uXhgC0/bSQ7qJ
timeout: 10m
rerun: (cd /tmp/trunk-0/uXhgC0/bSQ7qJ; env -i PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3/bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root NODE_PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules /root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/deployment.yaml)
affects_cache:
- package.json
- .editorconfig
direct_configs:
[]
exit_status: exited
exit_code: 2
stdout: (none)
stderr: |
[error] deploy/helm/storimount/templates/deployment.yaml: SyntaxError: All collection items must start at the same column (13:5)
[error] 11 | {{- include "storimount.selectorLabels" . | nindent 6 }}
[error] 12 | template:
[error] > 13 | metadata:
[error] | ^^^^^^^^^
[error] > 14 | labels:
[error] | ^^^^^^^^^^^^^
[error] > 15 | {{- include "storimount.selectorLabels" . | nindent 8 }}
[error] | ^^^^^^^^^^^^^
[error] > 16 | annotations:
[error] | ^^^^^^^^^^^^^
[error] > 17 | checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
[error] | ^^^^^^^^^^^^^
[error] > 18 | checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
[error] | ^^^^^^^^^^^^^
[error] > 19 | spec:
[error] | ^^^^^^^^^^^^^
[error] > 20 | {{- with .Values.imagePullSecrets }}
[error] | ^^^^^^^^^^^^^
[error] > 21 | imagePullSecrets:
[error] | ^^^^^^^^^^^^^
[error] > 22 | {{- toYaml . | nindent 8 }}
[error] | ^^^^^^^^^^^^^
[error] > 23 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 24 | containers:
[error] | ^^^^^^^^^^^^^
[error] > 25 | - name: {{ .Chart.Name }}
[error] | ^^^^^^^^^^^^^
[error] > 26 | image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
[error] | ^^^^^^^^^^^^^
[error] > 27 | imagePullPolicy: {{ .Values.image.pullPolicy }}
[error] | ^^^^^^^^^^^^^
[error] > 28 | ports:
[error] | ^^^^^^^^^^^^^
[error] > 29 | - name: http
[error] | ^^^^^^^^^^^^^
[error] > 30 | containerPort: 80
[error] | ^^^^^^^^^^^^^
[error] > 31 | protocol: TCP
[error] | ^^^^^^^^^^^^^
[error] > 32 | envFrom:
[error] | ^^^^^^^^^^^^^
[error] > 33 | - secretRef:
[error] | ^^^^^^^^^^^^^
[error] > 34 | name: {{ include "storimount.fullname" . }}
[error] | ^^^^^^^^^^^^^
[error] > 35 | env:
[error] | ^^^^^^^^^^^^^
[error] > 36 | {{- range $key, $value := .Values.env }}
[error] | ^^^^^^^^^^^^^
[error] > 37 | - name: {{ $key }}
[error] | ^^^^^^^^^^^^^
[error] > 38 | value: {{ $value | quote }}
[error] | ^^^^^^^^^^^^^
[error] > 39 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 40 | volumeMounts:
[error] | ^^^^^^^^^^^^^
[error] > 41 | - name: config
[error] | ^^^^^^^^^^^^^
[error] > 42 | mountPath: /app/config/storimount.yaml
[error] | ^^^^^^^^^^^^^
[error] > 43 | subPath: storimount.yaml
[error] | ^^^^^^^^^^^^^
[error] > 44 | readOnly: true
[error] | ^^^^^^^^^^^^^
[error] > 45 | {{- if .Values.persistence.enabled }}
[error] | ^^^^^^^^^^^^^
[error] > 46 | - name: data
[error] | ^^^^^^^^^^^^^
[error] > 47 | mountPath: /data
[error] | ^^^^^^^^^^^^^
[error] > 48 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 49 | {{- with .Values.livenessProbe }}
[error] | ^^^^^^^^^^^^^
[error] > 50 | livenessProbe:
[error] | ^^^^^^^^^^^^^
[error] > 51 | {{- toYaml . | nindent 12 }}
[error] | ^^^^^^^^^^^^^
[error] > 52 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 53 | {{- with .Values.readinessProbe }}
[error] | ^^^^^^^^^^^^^
[error] > 54 | readinessProbe:
[error] | ^^^^^^^^^^^^^
[error] > 55 | {{- toYaml . | nindent 12 }}
[error] | ^^^^^^^^^^^^^
[error] > 56 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 57 | {{- with .Values.resources }}
[error] | ^^^^^^^^^^^^^
[error] > 58 | resources:
[error] | ^^^^^^^^^^^^^
[error] > 59 | {{- toYaml . | nindent 12 }}
[error] | ^^^^^^^^^^^^^
[error] > 60 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 61 | volumes:
[error] | ^^^^^^^^^^^^^
[error] > 62 | - name: config
[error] | ^^^^^^^^^^^^^
[error] > 63 | configMap:
[error] | ^^^^^^^^^^^^^
[error] > 64 | name: {{ include "storimount.fullname" . }}-config
[error] | ^^^^^^^^^^^^^
[error] > 65 | {{- if .Values.persistence.enabled }}
[error] | ^^^^^^^^^^^^^
[error] > 66 | - name: data
[error] | ^^^^^^^^^^^^^
[error] > 67 | persistentVolumeClaim:
[error] | ^^^^^^^^^^^^^
[error] > 68 | claimName: {{ .Values.persistence.existingClaim | default (printf "%s-data" (include "storimount.fullname" .)) }}
[error] | ^^^^^^^^^^^^^
[error] > 69 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 70 | {{- with .Values.nodeSelector }}
[error] | ^^^^^^^^^^^^^
[error] > 71 | nodeSelector:
[error] | ^^^^^^^^^^^^^
[error] > 72 | {{- toYaml . | nindent 8 }}
[error] | ^^^^^^^^^^^^^
[error] > 73 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 74 | {{- with .Values.affinity }}
[error] | ^^^^^^^^^^^^^
[error] > 75 | affinity:
[error] | ^^^^^^^^^^^^^
[error] > 76 | {{- toYaml . | nindent 8 }}
[error] | ^^^^^^^^^^^^^
[error] > 77 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 78 | {{- with .Values.tolerations }}
[error] | ^^^^^^^^^^^^^
[error] > 79 | tolerations:
[error] | ^^^^^^^^^^^^^
[error] > 80 | {{- toYaml . | nindent 8 }}
[error] | ^^^^^^^^^^^^^
[error] > 81 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 82 |
[error] | ^
parser: |
(none)
# .trunk/out/dxSsM.yaml
trunk_cli_version: 1.25.0
title: prettier exited with exit_code=2
report:
- prettier exited with exit_code=2
- linter:
command: |
/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/ingress.yaml
stdin_path: (none)
run_from: /tmp/trunk-0/WuY36O/YNJk9T
timeout: 10m
rerun: (cd /tmp/trunk-0/WuY36O/YNJk9T; env -i PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3/bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root NODE_PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules /root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/ingress.yaml)
affects_cache:
- package.json
- .editorconfig
direct_configs:
[]
exit_status: exited
exit_code: 2
stdout: (none)
stderr: |
[error] deploy/helm/storimount/templates/ingress.yaml: SyntaxError: Document contains trailing content not separated by a ... or --- line (2:1)
[error] 1 | {{- if .Values.ingress.enabled -}}
[error] > 2 | apiVersion: networking.k8s.io/v1
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 3 | kind: Ingress
[error] | ^^^^^^^^^^^^^
[error] > 4 | metadata:
[error] | ^^^^^^^^^^^^^
[error] > 5 | name: {{ include "storimount.fullname" . }}
[error] | ^^^^^^^^^^^^^
[error] > 6 | labels:
[error] | ^^^^^^^^^^^^^
[error] > 7 | {{- include "storimount.labels" . | nindent 4 }}
[error] | ^^^^^^^^^^^^^
[error] > 8 | {{- with .Values.ingress.annotations }}
[error] | ^^^^^^^^^^^^^
[error] > 9 | annotations:
[error] | ^^^^^^^^^^^^^
[error] > 10 | {{- toYaml . | nindent 4 }}
[error] | ^^^^^^^^^^^^^
[error] > 11 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 12 | spec:
[error] | ^^^^^^^^^^^^^
[error] > 13 | {{- if .Values.ingress.className }}
[error] | ^^^^^^^^^^^^^
[error] > 14 | ingressClassName: {{ .Values.ingress.className }}
[error] | ^^^^^^^^^^^^^
[error] > 15 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 16 | {{- if .Values.ingress.tls }}
[error] | ^^^^^^^^^^^^^
[error] > 17 | tls:
[error] | ^^^^^^^^^^^^^
[error] > 18 | {{- range .Values.ingress.tls }}
[error] | ^^^^^^^^^^^^^
[error] > 19 | - hosts:
[error] | ^^^^^^^^^^^^^
[error] > 20 | {{- range .hosts }}
[error] | ^^^^^^^^^^^^^
[error] > 21 | - {{ . | quote }}
[error] | ^^^^^^^^^^^^^
[error] > 22 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 23 | secretName: {{ .secretName }}
[error] | ^^^^^^^^^^^^^
[error] > 24 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 25 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 26 | rules:
[error] | ^^^^^^^^^^^^^
[error] > 27 | {{- range .Values.ingress.hosts }}
[error] | ^^^^^^^^^^^^^
[error] > 28 | - host: {{ .host | quote }}
[error] | ^^^^^^^^^^^^^
[error] > 29 | http:
[error] | ^^^^^^^^^^^^^
[error] > 30 | paths:
[error] | ^^^^^^^^^^^^^
[error] > 31 | {{- range .paths }}
[error] | ^^^^^^^^^^^^^
[error] > 32 | - path: {{ .path }}
[error] | ^^^^^^^^^^^^^
[error] > 33 | pathType: {{ .pathType }}
[error] | ^^^^^^^^^^^^^
[error] > 34 | backend:
[error] | ^^^^^^^^^^^^^
[error] > 35 | service:
[error] | ^^^^^^^^^^^^^
[error] > 36 | name: {{ include "storimount.fullname" $ }}
[error] | ^^^^^^^^^^^^^
[error] > 37 | port:
[error] | ^^^^^^^^^^^^^
[error] > 38 | name: http
[error] | ^^^^^^^^^^^^^
[error] > 39 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 40 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 41 | {{- end }}
[error] | ^^^^^^^^^^^^^
[error] > 42 |
[error] | ^
parser: |
(none)
# .trunk/out/0v9L9.yaml
trunk_cli_version: 1.25.0
title: prettier exited with exit_code=2
report:
- prettier exited with exit_code=2
- linter:
command: |
/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/pvc.yaml
stdin_path: (none)
run_from: /tmp/trunk-0/mMZ3eb/tMvSOL
timeout: 10m
rerun: (cd /tmp/trunk-0/mMZ3eb/tMvSOL; env -i PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3/bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules HOME=/root /root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/pvc.yaml)
affects_cache:
- package.json
- .editorconfig
direct_configs:
[]
exit_status: exited
exit_code: 2
stdout: (none)
stderr: |
[error] deploy/helm/storimount/templates/pvc.yaml: SyntaxError: Document contains trailing content not separated by a ... or --- line (2:1)
[error] 1 | {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
[error] > 2 | apiVersion: v1
[error] | ^^^^^^^^^^^^^^
[error] > 3 | kind: PersistentVolumeClaim
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 4 | metadata:
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 5 | name: {{ include "storimount.fullname" . }}-data
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 6 | labels:
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 7 | {{- include "storimount.labels" . | nindent 4 }}
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 8 | spec:
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 9 | accessModes:
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 10 | {{- toYaml .Values.persistence.accessModes | nindent 4 }}
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 11 | {{- if .Values.persistence.storageClass }}
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 12 | storageClassName: {{ .Values.persistence.storageClass | quote }}
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 13 | {{- end }}
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 14 | resources:
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 15 | requests:
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 16 | storage: {{ .Values.persistence.size }}
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 17 | {{- end }}
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 18 |
[error] | ^
parser: |
(none)
# .trunk/out/INNea.yaml
trunk_cli_version: 1.25.0
title: prettier exited with exit_code=2
report:
- prettier exited with exit_code=2
- linter:
command: |
/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/secret.yaml
stdin_path: (none)
run_from: /tmp/trunk-0/KQPG8i/mpE674
timeout: 10m
rerun: (cd /tmp/trunk-0/KQPG8i/mpE674; env -i PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3/bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root NODE_PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules /root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/secret.yaml)
affects_cache:
- package.json
- .editorconfig
direct_configs:
[]
exit_status: exited
exit_code: 2
stdout: (none)
stderr: |
[error] deploy/helm/storimount/templates/secret.yaml: SyntaxError: All collection items must start at the same column (1:1)
[error] > 1 | apiVersion: v1
[error] | ^^^^^^^^^^^^^^
[error] > 2 | kind: Secret
[error] | ^^^^^^^^^^^^
[error] > 3 | metadata:
[error] | ^^^^^^^^^^^^
[error] > 4 | name: {{ include "storimount.fullname" . }}
[error] | ^^^^^^^^^^^^
[error] > 5 | labels:
[error] | ^^^^^^^^^^^^
[error] > 6 | {{- include "storimount.labels" . | nindent 4 }}
[error] | ^^^^^^^^^^^^
[error] > 7 | type: Opaque
[error] | ^^^^^^^^^^^^
[error] > 8 | stringData:
[error] | ^^^^^^^^^^^^
[error] > 9 | {{- if .Values.secrets.appKey }}
[error] | ^^^^^^^^^^^^
[error] > 10 | APP_KEY: {{ .Values.secrets.appKey | quote }}
[error] | ^^^^^^^^^^^^
[error] > 11 | {{- end }}
[error] | ^^^^^^^^^^^^
[error] > 12 | {{- if .Values.secrets.adminPasswordHash }}
[error] | ^^^^^^^^^^^^
[error] > 13 | STORIMOUNT_ADMIN_PASSWORD_HASH: {{ .Values.secrets.adminPasswordHash | quote }}
[error] | ^^^^^^^^^^^^
[error] > 14 | {{- end }}
[error] | ^^^^^^^^^^^^
[error] > 15 |
[error] | ^
parser: |
(none)
# .trunk/out/1UXh9.yaml
trunk_cli_version: 1.25.0
title: prettier exited with exit_code=2
report:
- prettier exited with exit_code=2
- linter:
command: |
/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/tests/test-connection.yaml
stdin_path: (none)
run_from: /tmp/trunk-0/sbYoCI/kBkY3S
timeout: 10m
rerun: (cd /tmp/trunk-0/sbYoCI/kBkY3S; env -i PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3/bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root NODE_PATH=/root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules /root/.cache/trunk/tools/prettier/3.8.1-10dd2deb5fa4ed92c6bebf323ea56a43/node_modules/.bin/prettier -w deploy/helm/storimount/templates/tests/test-connection.yaml)
affects_cache:
- package.json
- .editorconfig
direct_configs:
[]
exit_status: exited
exit_code: 2
stdout: (none)
stderr: |
[error] deploy/helm/storimount/templates/tests/test-connection.yaml: SyntaxError: All collection items must start at the same column (4:3)
[error] 2 | kind: Pod
[error] 3 | metadata:
[error] > 4 | name: "{{ include "storimount.fullname" . }}-test-connection"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 5 | labels:
[error] | ^^^^^^^^^
[error] > 6 | {{- include "storimount.labels" . | nindent 4 }}
[error] | ^^^^^^^^^
[error] > 7 | annotations:
[error] | ^^^^^^^^^
[error] > 8 | "helm.sh/hook": test
[error] | ^^^^^^^^^
[error] > 9 | spec:
[error] | ^
[error] 10 | containers:
[error] 11 | - name: wget
[error] 12 | image: busybox
parser: |
(none)
# .trunk/out/ciiee.yaml
trunk_cli_version: 1.25.0
title: "Error while executing: CHANGELOG.md... (28 files)"
report:
- "[json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: 'fi'"
- linter:
command: |
/root/.cache/trunk/tools/markdownlint/0.47.0-7b58816c4d9dc649e4b8b9ce995a4c9b/node_modules/.bin/markdownlint CHANGELOG.md README.md docs/adrs.md docs/api.md docs/appendix.md docs/architecture.md docs/auth.md docs/competitive-analysis.md docs/configuration.md docs/deployment-guide.md docs/deployment.md docs/development-standards.md docs/language-comparison.md docs/milestones.md docs/n8n-integration.md docs/operations.md docs/proxy-auth.md docs/smb-fuse.md docs/storage-abstraction.md docs/style-guide-rubylieh.md docs/style-guide.md docs/tech-stack.md docs/technical-debt.md docs/testing.md docs/theming.md docs/ui.md docs/user-stories.md tests/k6/README.md --json
stdin_path: (none)
run_from: /tmp/trunk-0/4JmD6e/V74oT7
timeout: 10m
rerun: (cd /tmp/trunk-0/4JmD6e/V74oT7; env -i PATH=/root/.cache/trunk/tools/markdownlint/0.47.0-7b58816c4d9dc649e4b8b9ce995a4c9b/node_modules/.bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3/bin:/root/.cache/trunk/tools/node/18.12.1-00ae74f39ac4de3ff3c7e3686016ebf3:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root NODE_PATH=/root/.cache/trunk/tools/markdownlint/0.47.0-7b58816c4d9dc649e4b8b9ce995a4c9b/node_modules /root/.cache/trunk/tools/markdownlint/0.47.0-7b58816c4d9dc649e4b8b9ce995a4c9b/node_modules/.bin/markdownlint CHANGELOG.md README.md docs/adrs.md docs/api.md docs/appendix.md docs/architecture.md docs/auth.md docs/competitive-analysis.md docs/configuration.md docs/deployment-guide.md docs/deployment.md docs/development-standards.md docs/language-comparison.md docs/milestones.md docs/n8n-integration.md docs/operations.md docs/proxy-auth.md docs/smb-fuse.md docs/storage-abstraction.md docs/style-guide-rubylieh.md docs/style-guide.md docs/tech-stack.md docs/technical-debt.md docs/testing.md docs/theming.md docs/ui.md docs/user-stories.md tests/k6/README.md --json)
affects_cache:
[]
direct_configs:
- .markdownlint.yaml
exit_status: exited
exit_code: 1
stdout: (none)
stderr: |
file:///root/.cache/trunk/tools/markdownlint/0.47.0-7b58816c4d9dc649e4b8b9ce995a4c9b/node_modules/string-width/index.js:16
const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;
^
SyntaxError: Invalid regular expression flags
at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:468:14)
Node.js v18.12.1
parser: |
(none)
Cleaning up project directory and file based variables