Skip to content

Commit

Permalink
fix: use quote for test labels
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <[email protected]>
  • Loading branch information
leninmehedy committed Nov 16, 2023
1 parent 11d20e6 commit 2487efc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions charts/fullstack-deployment/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{{- define "fullstack.testLabels" -}}
{{- if .Values.deployment.testMetadata.enabled }}
fullstack.hedera.com/testSuiteName: {{ .Values.deployment.testMetadata.testSuiteName }}
fullstack.hedera.com/testName: {{ .Values.deployment.testMetadata.testName }}
fullstack.hedera.com/testRunUID: {{ .Values.deployment.testMetadata.testRunUID }}
fullstack.hedera.com/testCreationTimestamp: {{ .Values.deployment.testMetadata.testCreationTimestamp }}
fullstack.hedera.com/testExpirationTimestamp: {{ .Values.deployment.testMetadata.testExpirationTimestamp }}
fullstack.hedera.com/testRequester: {{ .Values.deployment.testMetadata.testRequester }}
{{- if .Values.deployment.testMetadata.enabled -}}
{{- with .Values.deployment.testMetadata -}}
fullstack.hedera.com/testSuiteName: "{{ .testSuiteName }}"
fullstack.hedera.com/testName: "{{ .testName }}"
fullstack.hedera.com/testRunUID: "{{ .testRunUID }}"
fullstack.hedera.com/testCreationTimestamp: "{{ .testCreationTimestamp }}"
fullstack.hedera.com/testExpirationTimestamp: "{{ .testExpirationTimestamp }}"
fullstack.hedera.com/testRequester: "{{ .testRequester }}"
{{- end }}
{{- end }}
{{- end }}

Expand Down

0 comments on commit 2487efc

Please sign in to comment.