blob: 77c45c1d4b6c185c06081111fa6c39fd573af2fd [file] [log] [blame]
Scott Baker22e46b72018-05-07 09:06:53 -07001---
2# Copyright 2018-present Open Networking Foundation
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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
Scott Baker25ae3952018-06-07 15:10:48 -070016# Default values for the base-kubernetes profile.
Scott Baker22e46b72018-05-07 09:06:53 -070017# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19
20replicaCount: 1
21
22nameOverride: ""
23fullnameOverride: ""
24
Zack Williamsd9d6b352018-10-05 07:53:30 -070025# tosca loader container
Luca Preteb2f21b52018-11-20 15:12:21 -080026images:
27 tosca_loader:
28 repository: 'xosproject/tosca-loader'
29 tag: '{{ .Chart.AppVersion }}'
30 pullPolicy: 'Always'
Scott Baker22e46b72018-05-07 09:06:53 -070031
Zack Williamsd9d6b352018-10-05 07:53:30 -070032global:
33 registry: ""
Scott Baker22e46b72018-05-07 09:06:53 -070034
35xosAdminUser: "admin@opencord.org"
36xosAdminPassword: "letmein"
37
38# TOSCA recipes for the tosca-loader
39toscaRecipes:
40 fixtures:
41 tosca_definitions_version: tosca_simple_yaml_1_0
42 description: Some basic fixtures
43 imports:
44 - custom_types/siterole.yaml
Scott Baker22e46b72018-05-07 09:06:53 -070045 - custom_types/networkparametertype.yaml
46 - custom_types/networktemplate.yaml
47 topology_template:
48 node_templates:
49 # -----------------------------------------------------------------------------
50 # Network Parameter Types
51 # -----------------------------------------------------------------------------
52 s_tag:
53 type: tosca.nodes.NetworkParameterType
54 properties:
55 name: s_tag
56 c_tag:
57 type: tosca.nodes.NetworkParameterType
58 properties:
59 name: c_tag
60 next_hop:
61 type: tosca.nodes.NetworkParameterType
62 properties:
63 name: next_hop
64 device:
65 type: tosca.nodes.NetworkParameterType
66 properties:
67 name: device
68 bridge:
69 type: tosca.nodes.NetworkParameterType
70 properties:
71 name: bridge
72 neutron_port_name:
73 type: tosca.nodes.NetworkParameterType
74 properties:
75 name: neutron_port_name
76 # ----------------------------------------------------------------------------
77 # Roles
78 # ----------------------------------------------------------------------------
79 siterole#admin:
80 type: tosca.nodes.SiteRole
81 properties:
82 role: admin
83 siterole#pi:
84 type: tosca.nodes.SiteRole
85 properties:
86 role: pi
87 siterole#tech:
88 type: tosca.nodes.SiteRole
89 properties:
90 role: tech
Scott Baker22e46b72018-05-07 09:06:53 -070091 # -----------------------------------------------------------------------------
92 # Network Templates
93 # -----------------------------------------------------------------------------
94 Private:
95 type: tosca.nodes.NetworkTemplate
96 properties:
97 name: Private
98 visibility: private
99 translation: none
100 Public shared IPv4:
101 type: tosca.nodes.NetworkTemplate
102 properties:
103 name: Public shared IPv4
104 visibility: private
105 translation: NAT
106 shared_network_name: nat-net
107 Public dedicated IPv4:
108 type: tosca.nodes.NetworkTemplate
109 properties:
110 name: Public dedicated IPv4
111 visibility: public
112 translation: none
113 shared_network_name: ext-net
114
115 deployment:
116 tosca_definitions_version: tosca_simple_yaml_1_0
117 imports:
118 - custom_types/deployment.yaml
119 description: deployment config, generated by platform-install
120 topology_template:
121 node_templates:
122 MyDeployment:
123 type: tosca.nodes.Deployment
124 properties:
125 name: MyDeployment
126
Scott Baker22e46b72018-05-07 09:06:53 -0700127 cordServices:
128 tosca_definitions_version: tosca_simple_yaml_1_0
Scott Bakerba2c2202018-06-11 10:04:28 -0700129 description: Set up Kubernetes Service
Scott Baker22e46b72018-05-07 09:06:53 -0700130 imports:
Scott Baker22e46b72018-05-07 09:06:53 -0700131 - custom_types/kubernetesservice.yaml
Scott Baker22e46b72018-05-07 09:06:53 -0700132 - custom_types/trustdomain.yaml
133 topology_template:
134 node_templates:
135 default_trustdomain:
136 type: tosca.nodes.TrustDomain
137 properties:
138 name: "default"
139 requirements:
140 - owner:
141 node: service#kubernetes
142 relationship: tosca.relationships.BelongsToOne
Scott Baker22e46b72018-05-07 09:06:53 -0700143 service#kubernetes:
144 type: tosca.nodes.KubernetesService
145 properties:
146 name: kubernetes
Scott Baker22e46b72018-05-07 09:06:53 -0700147
148 serviceGraphConstraints:
149 tosca_definitions_version: tosca_simple_yaml_1_0
150 imports:
151 - custom_types/servicegraphconstraint.yaml
152 description: Constraints on the Services position in the graph
153 topology_template:
154 node_templates:
155 constraints:
156 type: tosca.nodes.ServiceGraphConstraint
157 properties:
Scott Bakerba2c2202018-06-11 10:04:28 -0700158 constraints: '[]'