Skip to content

Commit

Permalink
Merge pull request #147 from catpineapple/helm_namespace
Browse files Browse the repository at this point in the history
[helm] use helm  install --namespace pass parameters
  • Loading branch information
intelligentfu authored Apr 8, 2024
2 parents 9653bad + 45f1fd7 commit faf7ec8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion helm-charts/doris-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{- end }}

{{- define "operator.namespace" -}}
{{- default .Release.Namespace .Values.dorisOperator.namespace }}
{{ print .Release.Namespace }}
{{- end }}

{{- define "kube-doris.name" -}}
Expand Down
15 changes: 0 additions & 15 deletions helm-charts/doris-operator/templates/namespace.yaml

This file was deleted.

1 change: 0 additions & 1 deletion helm-charts/doris-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

dorisOperator:
# the namespace of dorisoperator, if not set, the release namespace will be used.
namespace: "doris"
image:
repository: selectdb/doris.k8s-operator
tag: 1.3.1
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/doris/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- end }}

{{- define "doriscluster.namespace" -}}
{{ default .Release.Namespace .Values.dorisCluster.namespace }}
{{ print .Release.Namespace }}
{{- end }}

{{- define "kube-control.name" -}}
Expand Down
2 changes: 0 additions & 2 deletions helm-charts/doris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
dorisCluster:
# the name of doriscluster, if not set, the chart name will be used.
name: "doriscluster-helm"
# the namespace of doriscluster, if not set, the release namespace will be used.
namespace: "doris"
# annotations for doris cluster.
annotations: {}
# specify the cn deploy or not.
Expand Down

0 comments on commit faf7ec8

Please sign in to comment.