Skip to content

Commit

Permalink
fix(t8s-cluster/management-cluster): wrong check for gpu instances
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau committed Aug 23, 2023
1 parent 10d7b8c commit 269afac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if (include "t8s-cluster.hasGPUNodes" .) }}
{{- if eq (include "t8s-cluster.hasGPUNodes" .) "true" }}
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
kind: KubeadmConfigTemplate
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if (include "t8s-cluster.hasGPUNodes" .) }}
{{- if eq (include "t8s-cluster.hasGPUNodes" .) "true" }}
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
Expand Down
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: '{{ include "t8s-cluster.hasGPUNodes" . }}'
condition: '{{ eq (include "t8s-cluster.hasGPUNodes" .) "true" }}'
cloud-provider-openstack:
url: https://kubernetes.github.io/cloud-provider-openstack
cetic:
Expand Down

0 comments on commit 269afac

Please sign in to comment.