Skip to content

Commit

Permalink
Merge pull request #78 from warpstreamlabs/fix-podLabels
Browse files Browse the repository at this point in the history
Make podLabels Optional
  • Loading branch information
aratz-lasa authored Jul 11, 2024
2 parents 40e503e + d10f147 commit 0d0c3fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ 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.3] - 2024-07-11

### Added

- Make podLabels optional, from version 1.13.1 it it failed if it wasn't set at least one label.

## [0.13.2] - 2024-07-05

### 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.2
version: 0.13.3
appVersion: v569
icon: https://avatars.githubusercontent.com/u/132156278
home: https://docs.warpstream.com/warpstream/
Expand Down
4 changes: 3 additions & 1 deletion charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ spec:
{{- end }}
labels:
{{- include "warpstream-agent.selectorLabels" . | nindent 8 }}
{{- toYaml .Values.podLabels | nindent 8 }}
{{- if not (empty .Values.podLabels) }}
{{- toYaml .Values.podLabels | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down

0 comments on commit 0d0c3fe

Please sign in to comment.