Skip to content

Commit

Permalink
feat: add extra labels to services (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkapper authored Oct 7, 2024
1 parent 47897d3 commit d7dd928
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/databend-meta/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.9.4
version: 0.9.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/databend-meta/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: {{ include "databend-meta.fullname" . }}
labels:
{{- include "databend-meta.labels" . | nindent 4 }}
{{- with .Values.service.extraLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/databend-meta/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ service:
grpc: 9191
# Annotations to add to the service
annotations: {}
extraLabels: {}

# mutually exclusive with podMonitor
serviceMonitor:
Expand Down
2 changes: 1 addition & 1 deletion charts/databend-query/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.10.6
version: 0.10.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/databend-query/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: {{ include "databend-query.fullname" . }}
labels:
{{- include "databend-query.labels" . | nindent 4 }}
{{- with .Values.service.extraLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/databend-query/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ service:

# Annotations to add to the service
annotations: {}
extraLabels: {}

sessionAffinity:
type: None
Expand Down

0 comments on commit d7dd928

Please sign in to comment.