Bulk blueprint update
[dcaegen2/platform/blueprints.git] / blueprints / k8s-helm-override.yaml-template
1 # ============LICENSE_START==========================================
2 # ===================================================================
3 # Copyright (c) 2019 AT&T
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #         http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #============LICENSE_END============================================
17 tosca_definitions_version: cloudify_dsl_1_3
18
19 imports:
20   - http://www.getcloudify.org/spec/cloudify/4.3.1/types.yaml
21   - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_ccsdk_platform_plugins_releases }}/type_files/helm/4.0.0/helm-type.yaml"
22
23 inputs:
24   tiller-server-ip:
25     description: IP address of Kubernetes master node
26   tiller-server-port:
27     description: Nodeport of tiller server
28   namespace:
29     description: Target namespace to be installed under (requires to be new)
30   chart-repo-url:
31      default: https://nexus.onap.org/content/sites/oom-helm-staging
32   chart-version :
33     description: Chart version for identified component-name
34   stable-repo-url:
35     description: URL for stable repository
36     type: string
37     default: 'https://kubernetes-charts.storage.googleapis.com'
38   config-url:
39     default: ''
40   config-format:
41     default: 'yaml'
42   component-name:
43     description: onap component name
44 node_templates:
45   onap_env:
46     type: onap.nodes.component
47     properties:
48       tiller-server-ip: { get_input: tiller-server-ip }
49       tiller-server-port: { get_input: tiller-server-port }
50       component-name: onap
51       chart-repo-url: { get_input: chart-repo-url }
52       chart-version: { get_input: chart-version }
53       namespace: { get_input: namespace }
54       stable-repo-url: { get_input: stable-repo-url}
55       config: '{ "aaf": {"enabled": false}, "aai": {"enabled": false}, "appc": {"enabled": false}, "clamp": {"enabled": false}, "cli": {"enabled": false}, "consul": {"enabled": false}, "dcaegen2": {"enabled": false}, "dmaap": {"enabled": false}, "esr": {"enabled": false}, "log": {"enabled": false}, "sniro-emulator": {"enabled": false}, "msb": {"enabled": false}, "multicloud": {"enabled": false}, "nbi": {"enabled": false}, "oof": {"enabled": false}, "policy": {"enabled": false}, "pomba": {"enabled": false}, "portal": {"enabled": false}, "robot": {"enabled": false}, "sdc": {"enabled": false}, "sdnc": {"enabled": false}, "so": {"enabled": false}, "uui": {"enabled": false}, "vfc": {"enabled": false}, "vid": {"enabled": false}, "vnfsdk": {"enabled": false} }'
56
57   dcaecomponent:
58     type: onap.nodes.component
59     properties:
60       tiller-server-ip: { get_input: tiller-server-ip }
61       tiller-server-port: { get_input: tiller-server-port }
62       component-name: { get_input: component-name }
63       chart-repo-url: { get_input: chart-repo-url }
64       chart-version: { get_input: chart-version }
65       namespace: { get_input: namespace }
66       stable-repo-url: { get_input: stable-repo-url}
67       config-url:  { get_input: config-url}
68       config-format: { get_input: config-format}
69     relationships:
70       - type: cloudify.relationships.connected_to
71         target: onap_env
72 outputs:
73   dcaecomponent_install_status:
74     value: { get_attribute: [ dcaecomponent, install-status ] }
75