File tree Expand file tree Collapse file tree 12 files changed +25
-1
lines changed
Expand file tree Collapse file tree 12 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -392,6 +392,12 @@ Additional init containers to add to the Deployment.
392392
393393** Default:** ` "" `
394394
395+ ### [ namespaceOverride] ( https://artifacthub.io/packages/helm/redpanda-data/connect?modal=values&path=namespaceOverride )
396+
397+ Namespace to deploy Redpanda Connect into. By default, uses the namespace of the Helm release.
398+
399+ ** Default:** ` "" `
400+
395401### [ nodeSelector] ( https://artifacthub.io/packages/helm/redpanda-data/connect?modal=values&path=nodeSelector )
396402
397403Node selector for scheduling Pods.
Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ Expand the name of the chart.
55{{- default " redpanda-connect" .Values.nameOverride | trunc 63 | trimSuffix " -" }}
66{{- end }}
77
8+ {{/*
9+ Expand the namespace the chart is deployed into.
10+ */ }}
11+ {{- define " redpanda-connect.namespace" -}}
12+ {{- default .Release.Namespace .Values.namespaceOverride }}
13+ {{- end }}
14+
815{{/*
916Create a default fully qualified app name.
1017We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v1
22kind : ConfigMap
33metadata :
44 name : {{ template "redpanda-connect.fullname" . }}-config
5- namespace : {{ .Release.Namespace }}
5+ namespace : {{ include "redpanda-connect.namespace" . }}
66 labels :
77 {{- include "redpanda-connect.labels" . | nindent 4 }}
88data :
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apiVersion: apps/v1
22kind : Deployment
33metadata :
44 name : {{ include "redpanda-connect.fullname" . }}
5+ namespace : {{ include "redpanda-connect.namespace" . }}
56 labels :
67 {{- include "redpanda-connect.labels" . | nindent 4 }}
78 annotations :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: autoscaling/v2
33kind : HorizontalPodAutoscaler
44metadata :
55 name : {{ include "redpanda-connect.fullname" . }}
6+ namespace : {{ include "redpanda-connect.namespace" . }}
67 labels :
78 {{- include "redpanda-connect.labels" . | nindent 4 }}
89spec :
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ apiVersion: extensions/v1beta1
1616kind : Ingress
1717metadata :
1818 name : {{ $fullName }}
19+ namespace : {{ include "redpanda-connect.namespace" . }}
1920 labels :
2021 {{- include "redpanda-connect.labels" . | nindent 4 }}
2122 {{- with .Values.ingress.annotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: policy/v1
33kind : PodDisruptionBudget
44metadata :
55 name : {{ template "redpanda-connect.fullname" . }}
6+ namespace : {{ include "redpanda-connect.namespace" . }}
67 labels :
78 {{- include "redpanda-connect.labels" . | nindent 4 }}
89spec :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
33kind : Service
44metadata :
55 name : {{ include "redpanda-connect.fullname" . }}
6+ namespace : {{ include "redpanda-connect.namespace" . }}
67 labels :
78 {{- include "redpanda-connect.labels" . | nindent 4 }}
89 annotations :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
33kind : ServiceAccount
44metadata :
55 name : {{ include "redpanda-connect.serviceAccountName" . }}
6+ namespace : {{ include "redpanda-connect.namespace" . }}
67 labels :
78 {{- include "redpanda-connect.labels" . | nindent 4 }}
89 {{- with .Values.serviceAccount.annotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: monitoring.coreos.com/v1
33kind : ServiceMonitor
44metadata :
55 name : {{ include "redpanda-connect.fullname" . }}
6+ namespace : {{ include "redpanda-connect.namespace" . }}
67 labels :
78 {{- include "redpanda-connect.labels" . | nindent 4 }}
89spec :
You can’t perform that action at this time.
0 commit comments