File tree Expand file tree Collapse file tree 2 files changed +2
-38
lines changed
snyk-operator-certified/helm-charts/snyk-monitor/templates Expand file tree Collapse file tree 2 files changed +2
-38
lines changed Original file line number Diff line number Diff line change 33Expand the name of the chart.
44*/} }
55{ {- define " snyk-monitor.name" -} }
6- { {- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix " -" -} }
7- { {- end -} }
8-
9- { {/*
10- Create a default fully qualified app name.
11- We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
12- If release name contains chart name it will be used as a full name.
13- */} }
14- { {- define " snyk-monitor.fullname" -} }
15- { {- if .Values.fullnameOverride -} }
16- { {- .Values.fullnameOverride | trunc 63 | trimSuffix " -" -} }
17- { {- else -} }
18- { {- $name := default .Chart.Name .Values.nameOverride -} }
19- { {- if contains $name .Release.Name -} }
20- { {- .Release.Name | trunc 63 | trimSuffix " -" -} }
21- { {- else -} }
22- { {- printf " %s-%s" .Release.Name $name | trunc 63 | trimSuffix " -" -} }
23- { {- end -} }
24- { {- end -} }
6+ { {- default .Release.Name | trunc 63 | trimSuffix " -" -} }
257{ {- end -} }
268
279{ {/*
Original file line number Diff line number Diff line change 33Expand the name of the chart.
44*/} }
55{ {- define " snyk-monitor.name" -} }
6- { {- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix " -" -} }
7- { {- end -} }
8-
9- { {/*
10- Create a default fully qualified app name.
11- We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
12- If release name contains chart name it will be used as a full name.
13- */} }
14- { {- define " snyk-monitor.fullname" -} }
15- { {- if .Values.fullnameOverride -} }
16- { {- .Values.fullnameOverride | trunc 63 | trimSuffix " -" -} }
17- { {- else -} }
18- { {- $name := default .Chart.Name .Values.nameOverride -} }
19- { {- if contains $name .Release.Name -} }
20- { {- .Release.Name | trunc 63 | trimSuffix " -" -} }
21- { {- else -} }
22- { {- printf " %s-%s" .Release.Name $name | trunc 63 | trimSuffix " -" -} }
23- { {- end -} }
24- { {- end -} }
6+ { {- default .Release.Name | trunc 63 | trimSuffix " -" -} }
257{ {- end -} }
268
279{ {/*
You can’t perform that action at this time.
0 commit comments