Skip to content

Commit

Permalink
charts/daemonse fix trailing whitespace for labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ianarsenault committed Aug 16, 2024
1 parent d37a63c commit 6d6b5b7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/daemonset/templates/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ClusterRole
metadata:
name: {{ include "app.fullname" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
rules:
{{- toYaml $.Values.clusterrole.rules | nindent 2 }}
---
Expand Down
2 changes: 1 addition & 1 deletion charts/daemonset/templates/cluster_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ClusterRoleBinding
metadata:
name: {{ include "app.fullname" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
2 changes: 1 addition & 1 deletion charts/daemonset/templates/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: {{ $v.name }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
binaryData:
{{- range $f := $v.files }}
{{- if $f.contentsB64 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/daemonset/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ kind: DaemonSet
metadata:
name: {{ include "app.fullname" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
selector:
matchLabels:
app: {{ include "app.fullname" . }}
template:
metadata:
labels:
{{ include "snowplow.labels" $ | nindent 8 }}
{{- include "snowplow.labels" $ | nindent 8 }}
app: {{ include "app.fullname" . }}
{{- if eq .Values.global.cloud "azure" }}
azure.workload.identity/use: "true"
Expand Down
2 changes: 1 addition & 1 deletion charts/daemonset/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: {{ .Release.Namespace }}
name: {{ include "app.secret.fullname" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
type: Opaque
data:
{{- range $k, $v := .Values.config.secrets }}
Expand Down
2 changes: 1 addition & 1 deletion charts/daemonset/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Service
metadata:
name: {{ include "app.fullname" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
type: {{ .Values.service.type }}
selector:
Expand Down

0 comments on commit 6d6b5b7

Please sign in to comment.