Skip to content

Commit 7effeee

Browse files
committed
Resolves SonarCloud warning
Signed-off-by: Lolla, Venkata <[email protected]>
1 parent 4ba573f commit 7effeee

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

k8s-deploy/neodash/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:
2828
{{- toYaml . | nindent 8 }}
2929
{{- end }}
3030
serviceAccountName: {{ include "neodash.serviceAccountName" . }}
31+
automountServiceAccountToken: false
3132
containers:
3233
- name: {{ .Chart.Name }}
3334
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

k8s-deploy/neodash/templates/tests/test-connection.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ metadata:
77
annotations:
88
"helm.sh/hook": test
99
spec:
10+
automountServiceAccountToken: false
1011
containers:
1112
- name: wget
1213
image: busybox
1314
command: ['wget']
1415
args: ['{{ include "neodash.fullname" . }}:{{ .Values.service.port }}']
16+
resources:
17+
{{- toYaml .Values.resources | nindent 8 }}
1518
restartPolicy: Never

k8s-deploy/sample-k8s-yamls/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ spec:
1717
application: neodash-deploy
1818
spec:
1919
serviceAccountName: neodash-test
20+
automountServiceAccountToken: false
2021
containers:
2122
- name: neodash
2223
image: "neo4jlabs/neodash:latest"

0 commit comments

Comments
 (0)