From: Mike Ludwig Date: Thu, 29 Oct 2020 18:51:54 +0000 (-0400) Subject: support alternate namespaces for slurm dns X-Git-Url: https://git.arvados.org/arvados-k8s.git/commitdiff_plain/792939ae237d5904583477a73fdce8bf00568590 support alternate namespaces for slurm dns Arvados-DCO-1.1-Signed-off-by: Michael Ludwig --- diff --git a/charts/arvados/templates/crunch-dispatch-slurm-deployment.yaml b/charts/arvados/templates/crunch-dispatch-slurm-deployment.yaml index a4f0582..f4322b5 100644 --- a/charts/arvados/templates/crunch-dispatch-slurm-deployment.yaml +++ b/charts/arvados/templates/crunch-dispatch-slurm-deployment.yaml @@ -24,7 +24,7 @@ spec: spec: dnsConfig: searches: - - "arvados-slurm-compute.default.svc.cluster.local" + - "arvados-slurm-compute.{{ .Release.Namespace }}.svc.cluster.local" containers: - name: {{ .Chart.Name }} image: "cure/arvados-slurm-runtime" diff --git a/charts/arvados/templates/slurm-compute-deployment.yaml b/charts/arvados/templates/slurm-compute-deployment.yaml index 2919b62..0819b34 100644 --- a/charts/arvados/templates/slurm-compute-deployment.yaml +++ b/charts/arvados/templates/slurm-compute-deployment.yaml @@ -27,7 +27,7 @@ spec: spec: dnsConfig: searches: - - "arvados-slurm-compute.default.svc.cluster.local" + - "arvados-slurm-compute.{{ .Release.Namespace }}.svc.cluster.local" terminationGracePeriodSeconds: 1 containers: - name: {{ .Chart.Name }} diff --git a/charts/arvados/templates/slurm-controller-deployment.yaml b/charts/arvados/templates/slurm-controller-deployment.yaml index 4aa57cb..733749a 100644 --- a/charts/arvados/templates/slurm-controller-deployment.yaml +++ b/charts/arvados/templates/slurm-controller-deployment.yaml @@ -26,7 +26,7 @@ spec: spec: dnsConfig: searches: - - "arvados-slurm-compute.default.svc.cluster.local" + - "arvados-slurm-compute.{{ .Release.Namespace }}.svc.cluster.local" terminationGracePeriodSeconds: 1 containers: - name: {{ .Chart.Name }}