Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
namespace: {{ template "operator.namespace" . }}
labels:
app: {{ template "operator.name" . }}-operator
{{- with .Values.starrocksOperator.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
Comment thread
TiansuYu marked this conversation as resolved.
Resolved
{{- if .Values.starrocksOperator.annotations }}
annotations:
{{- toYaml .Values.starrocksOperator.annotations | nindent 4 }}
Expand All @@ -25,6 +28,9 @@ spec:
labels:
app: {{ template "operator.name" . }}-operator
version: {{ $.Chart.Version }}
{{- with .Values.starrocksOperator.labels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
automountServiceAccountToken: true
{{- if .Values.starrocksOperator.imagePullSecrets }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ starrocksOperator:
# If enabled, the operator-related resources will be created, including the operator deployment, service account,
# clusterrole, clusterrolebinding, and service account.
enabled: true
# labels for the starrocks operator Deployment and pod.
labels: {}
# annotations for starrocks operator.
annotations: {}
namespaceOverride: ""
Expand Down Expand Up @@ -127,4 +129,4 @@ starrocksOperator:
# By default, the volume name of secret and configmap created by operator for the FE/BE/CN pods has a hash suffix.
# If users plan to use a sidecar or init container to mount the same volume, it will be challenging to get the volume name.
# In this situation, you can set this value to false.
volumeNameWithHash: true
volumeNameWithHash: true
2 changes: 2 additions & 0 deletions helm-charts/charts/kube-starrocks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ operator:
# If enabled, the operator-related resources will be created, including the operator deployment, service account,
# clusterrole, clusterrolebinding, and service account.
enabled: true
# labels for the starrocks operator Deployment and pod.
labels: {}
# annotations for starrocks operator.
annotations: {}
namespaceOverride: ""
Expand Down
Loading