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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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