From 377c8ac1825d94e36f7bfaf23fdd439452a82061 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Tue, 7 May 2019 16:02:12 -0400 Subject: [PATCH] Make the names lowercase as they are required by k8s Fixes #626 Signed-off-by: Matt Farina --- chart/monocular/Chart.yaml | 2 +- chart/monocular/templates/repo-sync-cronjobs.yaml | 2 +- chart/monocular/templates/repo-sync-jobs.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/monocular/Chart.yaml b/chart/monocular/Chart.yaml index 8745fc668..0bbb2e270 100644 --- a/chart/monocular/Chart.yaml +++ b/chart/monocular/Chart.yaml @@ -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: diff --git a/chart/monocular/templates/repo-sync-cronjobs.yaml b/chart/monocular/templates/repo-sync-cronjobs.yaml index 4fc65a546..bccbacb94 100644 --- a/chart/monocular/templates/repo-sync-cronjobs.yaml +++ b/chart/monocular/templates/repo-sync-cronjobs.yaml @@ -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" $ }} diff --git a/chart/monocular/templates/repo-sync-jobs.yaml b/chart/monocular/templates/repo-sync-jobs.yaml index 5e7b7afa3..021401453 100644 --- a/chart/monocular/templates/repo-sync-jobs.yaml +++ b/chart/monocular/templates/repo-sync-jobs.yaml @@ -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" $ }}