Skip to content

Commit

Permalink
chore(t8s-cluster): improve conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau committed Mar 5, 2024
1 parent 83e9a8d commit d9dab82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/t8s-cluster/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ sourceRef:
{{- $hasGPUFlavor = true -}}
{{- end -}}
{{- end -}}
{{- $hasGPUFlavor -}}
{{- $hasGPUFlavor | ternary true "" -}}
{{- end -}}
2 changes: 1 addition & 1 deletion charts/t8s-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ global:
url: https://helm.ngc.nvidia.com/nvidia
charts:
gpu-operator: 23.x.x
condition: '{{ eq (include "t8s-cluster.hasGPUNodes" (dict "context" $)) "true" }}'
condition: '{{ include "t8s-cluster.hasGPUNodes" (dict "context" $) }}'
cloud-provider-openstack:
url: https://kubernetes.github.io/cloud-provider-openstack
cetic:
Expand Down

0 comments on commit d9dab82

Please sign in to comment.