Skip to content

Commit faf7ec8

Browse files
Merge pull request #147 from catpineapple/helm_namespace
[helm] use helm install --namespace pass parameters
2 parents 9653bad + 45f1fd7 commit faf7ec8

File tree

5 files changed

+2
-20
lines changed

5 files changed

+2
-20
lines changed

helm-charts/doris-operator/templates/_helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{- end }}
88

99
{{- define "operator.namespace" -}}
10-
{{- default .Release.Namespace .Values.dorisOperator.namespace }}
10+
{{ print .Release.Namespace }}
1111
{{- end }}
1212

1313
{{- define "kube-doris.name" -}}

helm-charts/doris-operator/templates/namespace.yaml

-15
This file was deleted.

helm-charts/doris-operator/values.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
dorisOperator:
66
# the namespace of dorisoperator, if not set, the release namespace will be used.
7-
namespace: "doris"
87
image:
98
repository: selectdb/doris.k8s-operator
109
tag: 1.3.1

helm-charts/doris/templates/_helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{- end }}
44

55
{{- define "doriscluster.namespace" -}}
6-
{{ default .Release.Namespace .Values.dorisCluster.namespace }}
6+
{{ print .Release.Namespace }}
77
{{- end }}
88

99
{{- define "kube-control.name" -}}

helm-charts/doris/values.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
dorisCluster:
44
# the name of doriscluster, if not set, the chart name will be used.
55
name: "doriscluster-helm"
6-
# the namespace of doriscluster, if not set, the release namespace will be used.
7-
namespace: "doris"
86
# annotations for doris cluster.
97
annotations: {}
108
# specify the cn deploy or not.

0 commit comments

Comments
 (0)