Skip to content

Commit

Permalink
Fix nameOverride handling in version 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mechermu committed Jan 21, 2025
1 parent 26654ea commit e7d6bc4
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 11 deletions.
42 changes: 34 additions & 8 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,33 @@ entries:
nomad:
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:17:37.777786567Z"
created: "2025-01-21T11:21:59.355261447Z"
dependencies:
- condition: rabbitmq.enabled
name: rabbitmq
repository: https://charts.bitnami.com/bitnami
version: 12.10.0
- condition: elasticsearch.enabled
name: elasticsearch
repository: https://helm.elastic.co
version: 7.17.3
- condition: mongodb.enabled
name: mongodb
repository: https://charts.bitnami.com/bitnami
version: 13.6.0
- condition: jupyterhub.enabled
name: jupyterhub
repository: https://jupyterhub.github.io/helm-chart
version: 3.0.3
description: A Helm chart to deploy NOMAD in Kubernetes
digest: 9538d385468bad9d838206b79e17c4d97df8fa2b57347cf9136e9bea74541917
name: nomad
urls:
- nomad-0.1.7.tgz
version: 0.1.7
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:21:59.330825889Z"
dependencies:
- condition: rabbitmq.enabled
name: rabbitmq
Expand All @@ -29,7 +55,7 @@ entries:
version: 0.1.6
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:17:37.744576463Z"
created: "2025-01-21T11:21:59.293153888Z"
dependencies:
- condition: rabbitmq.enabled
name: rabbitmq
Expand All @@ -55,7 +81,7 @@ entries:
version: 0.1.5
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:17:37.715265483Z"
created: "2025-01-21T11:21:59.268102539Z"
dependencies:
- condition: rabbitmq.enabled
name: rabbitmq
Expand All @@ -81,7 +107,7 @@ entries:
version: 0.1.4
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:17:37.681583541Z"
created: "2025-01-21T11:21:59.216784833Z"
dependencies:
- condition: rabbitmq.enabled
name: rabbitmq
Expand All @@ -107,7 +133,7 @@ entries:
version: 0.1.3
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:17:37.658334015Z"
created: "2025-01-21T11:21:59.190485371Z"
dependencies:
- name: rabbitmq
repository: https://charts.bitnami.com/bitnami
Expand All @@ -129,7 +155,7 @@ entries:
version: 0.1.2
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:17:37.642196747Z"
created: "2025-01-21T11:21:59.17479454Z"
dependencies:
- name: rabbitmq
repository: https://charts.bitnami.com/bitnami
Expand All @@ -151,7 +177,7 @@ entries:
version: 0.1.1
- apiVersion: v2
appVersion: "1.0"
created: "2025-01-21T11:17:37.624415037Z"
created: "2025-01-21T11:21:59.156986568Z"
dependencies:
- name: rabbitmq
repository: https://charts.bitnami.com/bitnami
Expand All @@ -174,4 +200,4 @@ entries:
urls:
- nomad-0.1.0.tgz
version: 0.1.0
generated: "2025-01-21T11:17:37.60894261Z"
generated: "2025-01-21T11:21:59.141387657Z"
Binary file added nomad-0.1.7.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion ops/kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: nomad
description: A Helm chart to deploy NOMAD in Kubernetes
version: 0.1.6
version: 0.1.7
appVersion: "1.0"
dependencies:
- name: rabbitmq
Expand Down
4 changes: 2 additions & 2 deletions ops/kubernetes/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Expand the name of the chart.
*/}}
{{- define "nomad.name" -}}
{{- if .Chart -}}
{{- if .Values -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- else -}}
{{- default "nomad" .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- default "nomad" .Chart.Name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}

Expand Down

0 comments on commit e7d6bc4

Please sign in to comment.