1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=========================================================
16 #This is the blueprint to deploy the DCAE Toolbox GUI.
20 tosca_definitions_version: cloudify_dsl_1_3
22 - http://www.getcloudify.org/spec/cloudify/4.4/types.yaml
23 - /k8splugin/1.4.22/node-type.yaml
24 - /relationship/1.0.1/types.yaml
25 - /cloudifydmaapplugin/1.4.6/node-type.yaml
26 - /dcaepolicyplugin/2.3.1/node-type.yaml
27 - /pgaas/0.3.2/pgaas_types.yaml
32 description: additional sans (string)
35 dcae-controller-toolbox-gui_cpu_limit:
38 description: cpu limit for deployment (string)
39 dcae-controller-toolbox-gui_cpu_request:
42 description: cpu requested for deployment (string)
43 dcae-controller-toolbox-gui_memory_limit:
46 description: memory limit for deployment (string)
47 dcae-controller-toolbox-gui_memory_request:
50 description: memory requested for deployment (string)
51 dcae_service_location:
53 description: Docker host override for docker bps (string)
57 description: The idns you will be using for your deployment (string)
60 default: 'dcae-controller-tosca-gui:2.0.3'
61 description: The docker image for you microservice (string)
67 description: The number of replicas for your kubernetes deployment (integer)
68 service_component_name_override:
70 default: 'dcae-controller-toolbox-gui'
71 description: Unique identifier for your deployment (string)
75 description: To use or not use the aaf section (boolean)
77 dcae-controller-toolbox-gui_dcae-controller-toolbox-gui:
78 type: dcae.nodes.ContainerizedServiceComponent
83 streams_subscribes: {}
89 endpoint: /actuator/health
94 endpoint: /actuator/health
101 get_input: dcae_service_location
102 service_component_type: dcae-controller-toolbox-gui
105 service_component_name_override:
107 - get_secret: location_id
109 - get_input: service_component_name_override
114 - name: default-cluster
119 - get_secret: kc-kubernetes_master_ip
121 - get_secret: kc-kubernetes_master_port
122 insecure-skip-tls-verify: true
124 - name: default-context
126 cluster: default-cluster
136 get_secret: dcae-mechid-k8s-token
137 current-context: default-context
141 get_input: dcae-controller-toolbox-gui_cpu_limit
143 get_input: dcae-controller-toolbox-gui_memory_limit
146 get_input: dcae-controller-toolbox-gui_cpu_request
148 get_input: dcae-controller-toolbox-gui_memory_request
151 get_input: use_aaf_tls
152 cert_directory: /opt/app/aafcertman
153 image: aaf-init-container:1.0.1
158 fieldPath: metadata.namespace
164 - get_input: namespace
167 - name: deployer_pass
172 - get_input: namespace
180 - get_input: namespace
188 - get_input: namespace
194 - name: app_service_names
197 - get_secret: location_id
199 - get_input: service_component_name_override
203 - -idnsfqdn=$(idns_fqdn)
205 - -deployerid=$(deployer_id)
206 - -deployerpass=$(deployer_pass)
208 - -namespace=$(NAMESPACE)
209 - -services=$(app_service_names)
212 - get_input: additionalsans
213 use_aaf_tls_renewal: true
216 - -idnsfqdn=$(idns_fqdn)
226 get_input: annotations