From 05db82cd46d8e3488d7810db1c9b670d422782c8 Mon Sep 17 00:00:00 2001 From: TommyLike Date: Mon, 15 Jul 2019 15:51:05 +0800 Subject: [PATCH] Fix default queue create issue --- installer/helm/chart/volcano/templates/default-queue.yaml | 2 ++ installer/helm/chart/volcano/templates/scheduler.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/installer/helm/chart/volcano/templates/default-queue.yaml b/installer/helm/chart/volcano/templates/default-queue.yaml index 3aa233f5db..00475756eb 100644 --- a/installer/helm/chart/volcano/templates/default-queue.yaml +++ b/installer/helm/chart/volcano/templates/default-queue.yaml @@ -2,5 +2,7 @@ apiVersion: scheduling.incubator.k8s.io/v1alpha1 kind: Queue metadata: name: default + annotations: + "helm.sh/hook": post-install spec: weight: 1 diff --git a/installer/helm/chart/volcano/templates/scheduler.yaml b/installer/helm/chart/volcano/templates/scheduler.yaml index 2c445110a9..177b60c562 100644 --- a/installer/helm/chart/volcano/templates/scheduler.yaml +++ b/installer/helm/chart/volcano/templates/scheduler.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-scheduler-configmap + namespace: {{ .Release.Namespace }} data: {{- (.Files.Glob "config/*").AsConfig | nindent 2 }} ---