Skip to content

Commit

Permalink
fix(greenhouse-ccloud): validation on wrong level (#7077)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoGoman committed Sep 16, 2024
1 parent ed78f13 commit d203590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion system/greenhouse-ccloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: ccloud
description: A Helm chart for the CCloud organization in Greenhouse.
type: application
version: 1.4.5
version: 1.4.6
4 changes: 2 additions & 2 deletions system/greenhouse-ccloud/templates/team-rolebindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
teamRoleRef: {{ $roleBinding.teamRoleRef }}
clusterSelector:
{{- $roleBinding.clusterSelector | toYaml | nindent 4 }}
{{- end }}
{{- else }}
{{- printf "Error: Missing teamRef, teamRoleRef, or clusterName in teamRoleBinding: %#v" $roleBinding | fail }}
{{- printf "Error: Missing teamRef, teamRoleRef, or clusterSelector in teamRoleBinding: %#v" $roleBinding | fail }}
{{- end }}
{{- end }}

0 comments on commit d203590

Please sign in to comment.