Skip to content

Commit

Permalink
Fix a typo and display better msg in notes
Browse files Browse the repository at this point in the history
Signed-off-by: Jirka Kremser <[email protected]>
  • Loading branch information
jkremser committed Apr 11, 2024
1 parent 8972cfc commit 5c367b8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion keda/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ WARNING - Running on unsupported Kubernetes version "1.{{.Capabilities.KubeVersi

{{- if .Values.serviceAccount.name }}
-------------------------------------------------------------------------------------
WARNING - .serviceAccount.name has been deprecated, please migrate to newest version of the Helm Chart values
WARNING - .serviceAccount.name has been deprecated, please migrate to newest version of the Helm Chart values that allows overriding the service account name for each KEDA component
-------------------------------------------------------------------------------------
{{- end }}

Expand Down
19 changes: 9 additions & 10 deletions keda/templates/manager/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,23 @@ rules:
resources:
- '*/scale'
verbs:
- get
- list
- patch
- update
- watch
- '*'
{{- else }}
- apiGroups:
- apps
resources:
- deployments/scale
- statefulsets/scale
verbs:
- '*'
{{- range .Values.rbac.scaledRefKinds }}
- apiGroups:
- {{ .apiGroup | quote }}
resources:
- {{ .kind | quote }}
- {{ printf "%s/scale" .kind | quote }}
verbs:
- get
- list
- patch
- update
- watch
- '*'
{{- end }}
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion keda/templates/manager/poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
app.kubernetes.io/name: {{ .Values.serviceAccount.name }}
app.kubernetes.io/name: {{ .Values.operator.name }}
{{- include "keda.labels" . | indent 4 }}
spec:
{{- if .Values.podDisruptionBudget.minAvailable }}
Expand Down
2 changes: 1 addition & 1 deletion keda/templates/webhooks/poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
app.kubernetes.io/name: {{ .Values.serviceAccount.name }}
app.kubernetes.io/name: {{ .Values.webhooks.name }}
{{- include "keda.labels" . | indent 4 }}
spec:
{{- if .Values.podDisruptionBudget.minAvailable }}
Expand Down

0 comments on commit 5c367b8

Please sign in to comment.