aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/definition-type/starter-type/node_type/component-k8s-config-value.json
blob: 901f322d05fb07ab5933ede2c4cc0709e07c3a6d (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
{
  "description": "This component is sending the k8s config value to the multicloud plugin.",
  "version": "1.0.0",
  "attributes": {
    "statuses": {
      "required": true,
      "type": "json"
    }
  },
  "capabilities": {
    "component-node": {
      "type": "tosca.capabilities.Node"
    }
  },
  "interfaces": {
    "K8sConfigValueComponent": {
      "operations": {
        "process": {
          "inputs": {
            "k8s-template-name": {
                "description": "K8s template name",
                "required": false,
                "type": "string"
            },
            "k8s-config-name": {
                "description": "K8s config name",
                "required": false,
                "type": "string"
            },
            "k8s-instance-id": {
                "description": "K8s instance id",
                "required": false,
                "type": "string"
            },
            "k8s-rb-template-value-source": {
                "description": "Location of value source in CBA",
                "required": false,
                "type": "string"
            },
            "k8s-operation-type" : {
                "required" : false,
                "type" : "string",
                "constraints" : [{
                   "valid_values" : [ "create", "update", "rollback" ]
                }],
                "default" : "create"
            },
            "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"
}