File tree 2 files changed +11
-0
lines changed
charts/capi-runtime-extensions/templates
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2023 D2iQ, Inc. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ {{- if and .Values.deployDefaultClusterClasses (.Capabilities.APIVersions.Has "infrastructure.cluster.x-k8s.io/v1beta1/NutanixClusterTemplate") }}
5
+ {{ .Files.Get "defaultclusterclasses/nutanix-cluster-class.yaml" }}
6
+ {{- end}}
Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ kustomize build ./hack/examples |
100
100
and .kind == "AWSClusterStaticIdentity"
101
101
)' > " ${EXAMPLE_CLUSTERS_DIR} /aws-cluster-identity.yaml"
102
102
) \
103
+ >(
104
+ gojq --yaml-input --yaml-output ' select(.metadata.labels["cluster.x-k8s.io/provider"] == "infrastructure-nutanix"
105
+ and .kind != "Cluster"
106
+ )' > " ${EXAMPLE_CLUSTERCLASSES_DIR} /nutanix-cluster-class.yaml"
107
+ ) \
103
108
>(
104
109
gojq --yaml-input --yaml-output ' select(
105
110
.metadata.labels["cluster.x-k8s.io/provider"] == "infrastructure-nutanix"
You can’t perform that action at this time.
0 commit comments