fix(argo-workflows): fix yamllint error 'trailing spaces' (#3233)

This commit is contained in:
Yves Schumann 2025-04-03 05:30:35 +02:00 committed by GitHub
parent 9365ba1dd2
commit 49ec752d09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 14 deletions

View file

@ -3,7 +3,7 @@ appVersion: v3.6.5
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.45.11
version: 0.45.12
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
home: https://github.com/argoproj/argo-helm
sources:
@ -16,5 +16,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Bump argo-workflows to v3.6.5
- kind: fixed
description: Fix yamllint error 'trailing spaces'

View file

@ -90,7 +90,7 @@ Selector labels
{{- define "argo-workflows.selectorLabels" -}}
{{- if .name -}}
app.kubernetes.io/name: {{ include "argo-workflows.name" .context }}-{{ .name }}
{{ end -}}
{{- end }}
app.kubernetes.io/instance: {{ .context.Release.Name }}
{{- if .component }}
app.kubernetes.io/component: {{ .component }}

View file

@ -174,7 +174,7 @@ rules:
verbs:
- get
resourceNames:
{{/* for HTTP templates */}}
{{- /* for HTTP templates */}}
- argo-workflows-agent-ca-certificates
{{- with .Values.controller.rbac.secretWhitelist }}
- apiGroups:

View file

@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
{{- if .Values.singleNamespace }}
kind: RoleBinding
{{ else }}
{{- else }}
kind: ClusterRoleBinding
{{- end }}
metadata:
@ -16,7 +16,7 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
{{- if .Values.singleNamespace }}
kind: Role
{{ else }}
{{- else }}
kind: ClusterRole
{{- end }}
name: {{ template "argo-workflows.controller.fullname" . }}

View file

@ -106,7 +106,8 @@ spec:
- name: {{ .Values.controller.metricsConfig.portName }}
containerPort: {{ .Values.controller.metricsConfig.port }}
- containerPort: 6060
livenessProbe: {{ .Values.controller.livenessProbe | toYaml | nindent 12 }}
livenessProbe:
{{- .Values.controller.livenessProbe | toYaml | nindent 12 }}
{{- with .Values.controller.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.controller.serviceAccount.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{ with .Values.controller.serviceAccount.annotations }}
{{- with .Values.controller.serviceAccount.annotations }}
annotations:
{{- toYaml .| nindent 4 }}
{{- end }}

View file

@ -1,8 +1,8 @@
{{ range .Values.extraObjects }}
{{- range .Values.extraObjects }}
---
{{ if typeIs "string" . }}
{{- if typeIs "string" . }}
{{- tpl . $ }}
{{- else }}
{{- tpl (toYaml .) $ }}
{{- end }}
{{ end }}
{{- end }}

View file

@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
{{- if .Values.singleNamespace }}
kind: RoleBinding
{{ else }}
{{- else }}
kind: ClusterRoleBinding
{{- end }}
metadata:
@ -16,7 +16,7 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
{{- if .Values.singleNamespace }}
kind: Role
{{ else }}
{{- else }}
kind: ClusterRole
{{- end }}
name: {{ template "argo-workflows.server.fullname" . }}