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

@ -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 }}