blob: ac6cb1c1debc358ec0b84bb86361c7e123d0290b [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
26image:
27 repository: 'xosproject/tosca-loader'
28 tag: '{{ .Chart.AppVersion }}'
29 pullPolicy: 'Always'
Scott Baker22e46b72018-05-07 09:06:53 -070030
Zack Williamsd9d6b352018-10-05 07:53:30 -070031global:
32 registry: ""
Scott Baker22e46b72018-05-07 09:06:53 -070033
34xosAdminUser: "admin@opencord.org"
35xosAdminPassword: "letmein"
36
37# TOSCA recipes for the tosca-loader
38toscaRecipes:
39 fixtures:
40 tosca_definitions_version: tosca_simple_yaml_1_0
41 description: Some basic fixtures
42 imports:
43 - custom_types/siterole.yaml
Scott Baker22e46b72018-05-07 09:06:53 -070044 - custom_types/networkparametertype.yaml
45 - custom_types/networktemplate.yaml
46 topology_template:
47 node_templates:
48 # -----------------------------------------------------------------------------
49 # Network Parameter Types
50 # -----------------------------------------------------------------------------
51 s_tag:
52 type: tosca.nodes.NetworkParameterType
53 properties:
54 name: s_tag
55 c_tag:
56 type: tosca.nodes.NetworkParameterType
57 properties:
58 name: c_tag
59 next_hop:
60 type: tosca.nodes.NetworkParameterType
61 properties:
62 name: next_hop
63 device:
64 type: tosca.nodes.NetworkParameterType
65 properties:
66 name: device
67 bridge:
68 type: tosca.nodes.NetworkParameterType
69 properties:
70 name: bridge
71 neutron_port_name:
72 type: tosca.nodes.NetworkParameterType
73 properties:
74 name: neutron_port_name
75 # ----------------------------------------------------------------------------
76 # Roles
77 # ----------------------------------------------------------------------------
78 siterole#admin:
79 type: tosca.nodes.SiteRole
80 properties:
81 role: admin
82 siterole#pi:
83 type: tosca.nodes.SiteRole
84 properties:
85 role: pi
86 siterole#tech:
87 type: tosca.nodes.SiteRole
88 properties:
89 role: tech
Scott Baker22e46b72018-05-07 09:06:53 -070090 # -----------------------------------------------------------------------------
91 # Network Templates
92 # -----------------------------------------------------------------------------
93 Private:
94 type: tosca.nodes.NetworkTemplate
95 properties:
96 name: Private
97 visibility: private
98 translation: none
99 Public shared IPv4:
100 type: tosca.nodes.NetworkTemplate
101 properties:
102 name: Public shared IPv4
103 visibility: private
104 translation: NAT
105 shared_network_name: nat-net
106 Public dedicated IPv4:
107 type: tosca.nodes.NetworkTemplate
108 properties:
109 name: Public dedicated IPv4
110 visibility: public
111 translation: none
112 shared_network_name: ext-net
113
114 deployment:
115 tosca_definitions_version: tosca_simple_yaml_1_0
116 imports:
117 - custom_types/deployment.yaml
118 description: deployment config, generated by platform-install
119 topology_template:
120 node_templates:
121 MyDeployment:
122 type: tosca.nodes.Deployment
123 properties:
124 name: MyDeployment
125
Scott Baker22e46b72018-05-07 09:06:53 -0700126 cordServices:
127 tosca_definitions_version: tosca_simple_yaml_1_0
Scott Bakerba2c2202018-06-11 10:04:28 -0700128 description: Set up Kubernetes Service
Scott Baker22e46b72018-05-07 09:06:53 -0700129 imports:
Scott Baker22e46b72018-05-07 09:06:53 -0700130 - custom_types/kubernetesservice.yaml
Scott Baker22e46b72018-05-07 09:06:53 -0700131 - custom_types/trustdomain.yaml
132 topology_template:
133 node_templates:
134 default_trustdomain:
135 type: tosca.nodes.TrustDomain
136 properties:
137 name: "default"
138 requirements:
139 - owner:
140 node: service#kubernetes
141 relationship: tosca.relationships.BelongsToOne
Scott Baker22e46b72018-05-07 09:06:53 -0700142 service#kubernetes:
143 type: tosca.nodes.KubernetesService
144 properties:
145 name: kubernetes
Scott Baker22e46b72018-05-07 09:06:53 -0700146
147 serviceGraphConstraints:
148 tosca_definitions_version: tosca_simple_yaml_1_0
149 imports:
150 - custom_types/servicegraphconstraint.yaml
151 description: Constraints on the Services position in the graph
152 topology_template:
153 node_templates:
154 constraints:
155 type: tosca.nodes.ServiceGraphConstraint
156 properties:
Scott Bakerba2c2202018-06-11 10:04:28 -0700157 constraints: '[]'