Skip to content

Commit

Permalink
fix: fix nil pointer error with StatefulSet labels when set (#364)
Browse files Browse the repository at this point in the history
* fix: fix nil pointer error with StatefulSet labels when set

* chore: bump patch version
  • Loading branch information
peikk0 authored Mar 7, 2024
1 parent 96eb451 commit 91bfd96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/atlantis/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
appVersion: v0.27.0
description: A Helm chart for Atlantis https://www.runatlantis.io
name: atlantis
version: 4.23.2
version: 4.23.3
keywords:
- terraform
home: https://www.runatlantis.io
Expand Down
4 changes: 2 additions & 2 deletions charts/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ metadata:
name: {{ template "atlantis.fullname" . }}
labels:
{{- include "atlantis.labels" . | nindent 4 }}
{{ with .Values.statefulSet.labels }}
{{- toYaml .Values.statefulSet.labels | nindent 4 }}
{{- with .Values.statefulSet.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if or .Values.statefulSet.annotations .Values.extraAnnotations }}
annotations:
Expand Down

0 comments on commit 91bfd96

Please sign in to comment.