Skip to content

Commit

Permalink
fix(name): make default name for distributed mode be 'deep'
Browse files Browse the repository at this point in the history
  • Loading branch information
Umaaz committed Jan 13, 2025
1 parent 76bf57e commit 555e921
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/deep-distributed/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If release name contains chart name it will be used as a full name.
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- $name := default "deep" .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
Expand Down
2 changes: 0 additions & 2 deletions charts/deep-distributed/unittests/config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ suite: test configmap
chart:
version: 9.9.9+test
appVersion: 1.1.1+test
release:
name: deep
tests:
- it: should merge configs
template: configmap-deep.yaml
Expand Down
5 changes: 5 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

.PHONY: test
test:
helm unittest -f unittests/**/*_test.yaml charts/deep
helm unittest -f unittests/**/*_test.yaml charts/deep-distributed

0 comments on commit 555e921

Please sign in to comment.