diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2021-06-24 20:45:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-06-24 20:45:24 +0000 |
commit | cec17f07ca594b45e9781438f0d9b9f9d60f2961 (patch) | |
tree | 86fad4b7b5b22311604b01fb585e5e35a1406ff3 /kud/deployment_infra/emco/examples/prerequisites.yaml | |
parent | 3c09e032b06c18426e59ec38d925e2b4ace24abc (diff) | |
parent | 741d0b2bf25ee68eab05c5a768f60515131bb852 (diff) |
Merge "Refactor EMCO deploy of addons"
Diffstat (limited to 'kud/deployment_infra/emco/examples/prerequisites.yaml')
-rw-r--r-- | kud/deployment_infra/emco/examples/prerequisites.yaml | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/kud/deployment_infra/emco/examples/prerequisites.yaml b/kud/deployment_infra/emco/examples/prerequisites.yaml deleted file mode 100644 index a44546e0..00000000 --- a/kud/deployment_infra/emco/examples/prerequisites.yaml +++ /dev/null @@ -1,113 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 -# Copyright (c) 2020 Intel Corporation - ---- -#create project -version: emco/v2 -resourceContext: - anchor: projects -metadata : - name: {{ .ProjectName }} ---- -#creating controller entries -version: emco/v2 -resourceContext: - anchor: controllers -metadata : - name: rsync -spec: - host: {{ .HostIP }} - port: {{ .RsyncPort }} - ---- -#creating controller entries -version: emco/v2 -resourceContext: - anchor: controllers -metadata : - name: gac -spec: - host: {{ .HostIP }} - port: {{ .GacPort }} - type: "action" - priority: 1 - ---- -#creating controller entries -version: emco/v2 -resourceContext: - anchor: controllers -metadata : - name: ovnaction -spec: - host: {{ .HostIP }} - port: {{ .OvnPort }} - type: "action" - priority: 1 - ---- -#creating controller entries -version: emco/v2 -resourceContext: - anchor: controllers -metadata : - name: dtc -spec: - host: {{ .HostIP }} - port: {{ .DtcPort }} - type: "action" - priority: 1 - ---- -#creating cluster provider -version: emco/v2 -resourceContext: - anchor: cluster-providers -metadata : - name: {{ .ClusterProvider }} - ---- -#creating cluster -version: emco/v2 -resourceContext: - anchor: cluster-providers/{{ .ClusterProvider }}/clusters -metadata : - name: {{ .Cluster1 }} -file: - {{ .KubeConfig }} - ---- -#Add label cluster -version: emco/v2 -resourceContext: - anchor: cluster-providers/{{ .ClusterProvider }}/clusters/{{ .Cluster1 }}/labels -label-name: {{ .ClusterLabel }} - ---- -#create default logical cloud with admin permissions -version: emco/v2 -resourceContext: - anchor: projects/{{ .ProjectName }}/logical-clouds -metadata: - name: {{ .LogicalCloud }} -spec: - level: "0" - ---- -#add cluster reference to logical cloud -version: emco/v2 -resourceContext: - anchor: projects/{{ .ProjectName }}/logical-clouds/{{ .LogicalCloud }}/cluster-references -metadata: - name: lc-cl-1 -spec: - cluster-provider: {{ .ClusterProvider }} - cluster-name: {{ .Cluster1 }} - loadbalancer-ip: "0.0.0.0" - ---- -#instantiate logical cloud -version: emco/v2 -resourceContext: - anchor: projects/{{ .ProjectName }}/logical-clouds/{{ .LogicalCloud }}/instantiate - |