Skip to content

Commit

Permalink
Merge pull request #145 from warpstreamlabs/aratz/allow-adding-servic…
Browse files Browse the repository at this point in the history
…e-labels

Allow Setting Service Labels
  • Loading branch information
aratz-lasa authored Dec 5, 2024
2 parents 86b3cd4 + 6bec616 commit b30b90a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.61] - 2024-12-05

- Allow adding `labels` to the service

## [0.13.60] - 2024-12-02

### Added
Expand Down
2 changes: 1 addition & 1 deletion charts/warpstream-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: warpstream-agent
description: WarpStream Agent for Kubernetes.
type: application
version: 0.13.60
version: 0.13.61
appVersion: v603
icon: https://avatars.githubusercontent.com/u/132156278
home: https://docs.warpstream.com/warpstream/
Expand Down
3 changes: 3 additions & 0 deletions charts/warpstream-agent/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: {{ include "warpstream-agent.fullname" . }}
labels:
{{- include "warpstream-agent.labels" . | nindent 4 }}
{{- with .Values.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/warpstream-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ service:
port: 9092
httpPort: 8080
schemaRegistryPort: 9094
labels: {}

# A service that only contains the Kafka TCP port
# Typically used to help with exposing only Kafka via a Load Balancer
Expand Down

0 comments on commit b30b90a

Please sign in to comment.