Skip to content

Commit

Permalink
fix: indentation on labels and annotations (#21)
Browse files Browse the repository at this point in the history
fix: indentation on labels and annotations
  • Loading branch information
daniel-maganto authored Jan 17, 2023
1 parent 6b23863 commit f01124e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/pact-broker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: pact-broker
description: The Pact Broker is an application for sharing for Pact contracts and verification results.
type: application
version: 0.4.0
version: 0.4.1
appVersion: 2.105.0.1
dependencies:
- condition: postgresql.enabled
Expand Down
8 changes: 4 additions & 4 deletions charts/pact-broker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ spec:
labels:
app.kubernetes.io/name: {{ include "chart.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.broker.labels }}
{{ toYaml . | trim | indent 8 }}
{{- with .Values.broker.labels -}}
{{ toYaml . | trim | nindent 8 }}
{{- end }}
{{- if .Values.broker.annotations }}
annotations:
{{- with .Values.broker.annotations }}
{{ toYaml . | trim | indent 8 }}
{{- with .Values.broker.annotations -}}
{{ toYaml . | trim | nindent 8 }}
{{- end }}
{{- end }}
spec:
Expand Down

0 comments on commit f01124e

Please sign in to comment.