aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/definition-type/starter-type/node_type/component-k8s-profile-upload.json
blob: f98fd4eb64bf2a5829ad6716890cf4a637506989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
  "description": "This component is rendering and sending the k8s profile to the multicloud plugin.",
  "version": "1.0.0",
  "attributes": {
    "statuses": {
      "required": true,
      "type": "json"
    }
  },
  "capabilities": {
    "component-node": {
      "type": "tosca.capabilities.Node"
    }
  },
  "interfaces": {
    "K8sProfileUploadComponent": {
      "operations": {
        "process": {
          "inputs": {
            "k8s-rb-profile-name": {
                "description": "K8s profile name",
                "required": false,
                "type": "string"
            },
            "k8s-rb-definition-name": {
                "description": "K8s definition name",
                "required": false,
                "type": "string"
            },
            "k8s-rb-definition-version": {
                "description": "Version of the definition",
                "required": false,
                "type": "string"
            },
            "k8s-rb-profile-namespace": {
                "description": "a K8s namespace for the profile",
                "required": false,
                "type": "string"
            },
            "k8s-rb-profile-k8s-version": {
              "description": "a K8s cluster version for the profile",
              "required": false,
              "type": "string"
            },
            "k8s-rb-profile-source": {
                "description": "Source (tgz/folder) for the template in CBA",
                "required": false,
                "type": "string"
            },
            "artifact-prefix-names": {
              "description": "Resource Assignment Artifact Prefix names",
              "required": false,
              "type": "list",
              "entry_schema": {
                "type": "string"
              }
            },
            "resource-assignment-map": {
                "description": "Holds resolved values for each artifact prefix eg. { vdns: { vnf-id: 123 } }",
                "required": false,
                "type": "json"
            }
          },
          "outputs": {
            "statuses": {
                "required": true,
                "type": "string"
            }
          }
        }
      }
    }
  },
  "derived_from": "tosca.nodes.Component"
}