Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Reduce machine, cluster charts to single instances
[icn.git]
/
deploy
/
cluster
/
templates
/
metal3cluster.yaml
diff --git
a/deploy/clusters/templates/metal3cluster.yaml
b/deploy/cluster/templates/metal3cluster.yaml
similarity index 52%
rename from
deploy/clusters/templates/metal3cluster.yaml
rename to
deploy/cluster/templates/metal3cluster.yaml
index
be52259
..
9daca3e
100644
(file)
--- a/
deploy/clusters/templates/metal3cluster.yaml
+++ b/
deploy/cluster/templates/metal3cluster.yaml
@@
-1,12
+1,10
@@
-{{- range $clusterName, $cluster := .Values.clusters }}
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha5
kind: Metal3Cluster
metadata:
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha5
kind: Metal3Cluster
metadata:
- name: {{
$
clusterName }}
+ name: {{
.Values.
clusterName }}
spec:
controlPlaneEndpoint:
spec:
controlPlaneEndpoint:
- host: {{
$cluster
.controlPlaneEndpoint }}
+ host: {{
.Values
.controlPlaneEndpoint }}
port: 6443
noCloudProvider: true
port: 6443
noCloudProvider: true
-{{- end }}