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 }} ---