Skip to content

Commit

Permalink
Make the names lowercase as they are required by k8s
Browse files Browse the repository at this point in the history
Fixes helm#626

Signed-off-by: Matt Farina <[email protected]>
  • Loading branch information
mattfarina committed May 7, 2019
1 parent a929343 commit 377c8ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chart/monocular/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: monocular
description: Monocular is a search and discovery front end for Helm Charts Repositories.
version: 1.4.5
version: 1.4.6
appVersion: v1.6.0
home: https://github.com/helm/monocular
sources:
Expand Down
2 changes: 1 addition & 1 deletion chart/monocular/templates/repo-sync-cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: {{ template "fullname" $ }}-sync-scheduled-{{ .name }}
name: {{ template "fullname" $ }}-sync-scheduled-{{ .name | lower }}
labels:
monocular.helm.sh/repo-name: {{ .name }}
app: {{ template "fullname" $ }}
Expand Down
2 changes: 1 addition & 1 deletion chart/monocular/templates/repo-sync-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ template "fullname" $ }}-sync-initial-{{ .name }}-{{ randAlphaNum 5 | lower }}
name: {{ template "fullname" $ }}-sync-initial-{{ .name | lower }}-{{ randAlphaNum 5 | lower }}
labels:
monocular.helm.sh/repo-name: {{ .name }}
app: {{ template "fullname" $ }}
Expand Down

0 comments on commit 377c8ac

Please sign in to comment.