aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/emco/examples/02-project.yaml
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-10-04 20:51:46 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-04 20:51:46 +0000
commit2dde920d0f80d7c7fc3f2ed7ff41675ae6c28733 (patch)
tree50dd70e09be42e2f461664823aeb67f937674b6a /kud/deployment_infra/emco/examples/02-project.yaml
parentbbeac9a596074d0af6e5be60448567517978a388 (diff)
parent6027abb96369a30e6ccd3f747f4029e36232c0af (diff)
Merge "Fix KubeVirt and SR-IOV addon interaction"
Diffstat (limited to 'kud/deployment_infra/emco/examples/02-project.yaml')
-rw-r--r--kud/deployment_infra/emco/examples/02-project.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kud/deployment_infra/emco/examples/02-project.yaml b/kud/deployment_infra/emco/examples/02-project.yaml
index d62a4f65..224126ce 100644
--- a/kud/deployment_infra/emco/examples/02-project.yaml
+++ b/kud/deployment_infra/emco/examples/02-project.yaml
@@ -65,17 +65,17 @@ spec:
verbs:
- "*"
-{{- range $index, $cluster := .Clusters }}
+{{- range $clusterName, $cluster := .Clusters }}
---
#add cluster reference to logical cloud
version: emco/v2
resourceContext:
anchor: projects/{{ $.ProjectName }}/logical-clouds/{{ $.LogicalCloud }}/cluster-references
metadata:
- name: {{ $cluster.Name }}
+ name: {{ $clusterName }}
spec:
cluster-provider: {{ $.ClusterProvider }}
- cluster-name: {{ $cluster.Name }}
+ cluster-name: {{ $clusterName }}
loadbalancer-ip: "0.0.0.0"
{{- end }}