Skip to content

Commit 49ec752

Browse files
authored
fix(argo-workflows): fix yamllint error 'trailing spaces' (argoproj#3233)
1 parent 9365ba1 commit 49ec752

File tree

8 files changed

+15
-14
lines changed

8 files changed

+15
-14
lines changed

charts/argo-workflows/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: v3.6.5
33
name: argo-workflows
44
description: A Helm chart for Argo Workflows
55
type: application
6-
version: 0.45.11
6+
version: 0.45.12
77
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
88
home: https://github.com/argoproj/argo-helm
99
sources:
@@ -16,5 +16,5 @@ annotations:
1616
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
1717
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
1818
artifacthub.io/changes: |
19-
- kind: changed
20-
description: Bump argo-workflows to v3.6.5
19+
- kind: fixed
20+
description: Fix yamllint error 'trailing spaces'

charts/argo-workflows/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Selector labels
9090
{{- define "argo-workflows.selectorLabels" -}}
9191
{{- if .name -}}
9292
app.kubernetes.io/name: {{ include "argo-workflows.name" .context }}-{{ .name }}
93-
{{ end -}}
93+
{{- end }}
9494
app.kubernetes.io/instance: {{ .context.Release.Name }}
9595
{{- if .component }}
9696
app.kubernetes.io/component: {{ .component }}

charts/argo-workflows/templates/controller/workflow-controller-cluster-roles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ rules:
174174
verbs:
175175
- get
176176
resourceNames:
177-
{{/* for HTTP templates */}}
177+
{{- /* for HTTP templates */}}
178178
- argo-workflows-agent-ca-certificates
179179
{{- with .Values.controller.rbac.secretWhitelist }}
180180
- apiGroups:

charts/argo-workflows/templates/controller/workflow-controller-crb.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
{{- if .Values.singleNamespace }}
44
kind: RoleBinding
5-
{{ else }}
5+
{{- else }}
66
kind: ClusterRoleBinding
77
{{- end }}
88
metadata:
@@ -16,7 +16,7 @@ roleRef:
1616
apiGroup: rbac.authorization.k8s.io
1717
{{- if .Values.singleNamespace }}
1818
kind: Role
19-
{{ else }}
19+
{{- else }}
2020
kind: ClusterRole
2121
{{- end }}
2222
name: {{ template "argo-workflows.controller.fullname" . }}

charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ spec:
106106
- name: {{ .Values.controller.metricsConfig.portName }}
107107
containerPort: {{ .Values.controller.metricsConfig.port }}
108108
- containerPort: 6060
109-
livenessProbe: {{ .Values.controller.livenessProbe | toYaml | nindent 12 }}
109+
livenessProbe:
110+
{{- .Values.controller.livenessProbe | toYaml | nindent 12 }}
110111
{{- with .Values.controller.extraContainers }}
111112
{{- toYaml . | nindent 8 }}
112113
{{- end }}

charts/argo-workflows/templates/controller/workflow-controller-sa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
{{- with .Values.controller.serviceAccount.labels }}
1010
{{- toYaml . | nindent 4 }}
1111
{{- end }}
12-
{{ with .Values.controller.serviceAccount.annotations }}
12+
{{- with .Values.controller.serviceAccount.annotations }}
1313
annotations:
1414
{{- toYaml .| nindent 4 }}
1515
{{- end }}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{{ range .Values.extraObjects }}
1+
{{- range .Values.extraObjects }}
22
---
3-
{{ if typeIs "string" . }}
3+
{{- if typeIs "string" . }}
44
{{- tpl . $ }}
55
{{- else }}
66
{{- tpl (toYaml .) $ }}
77
{{- end }}
8-
{{ end }}
8+
{{- end }}

charts/argo-workflows/templates/server/server-crb.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
{{- if .Values.singleNamespace }}
44
kind: RoleBinding
5-
{{ else }}
5+
{{- else }}
66
kind: ClusterRoleBinding
77
{{- end }}
88
metadata:
@@ -16,7 +16,7 @@ roleRef:
1616
apiGroup: rbac.authorization.k8s.io
1717
{{- if .Values.singleNamespace }}
1818
kind: Role
19-
{{ else }}
19+
{{- else }}
2020
kind: ClusterRole
2121
{{- end }}
2222
name: {{ template "argo-workflows.server.fullname" . }}

0 commit comments

Comments
 (0)