blob: 68d27535918052fca5ac2c3b99e93a14a0ebf497 [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:
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
Scott Baker4206a5f2019-02-28 17:07:04 -080075
Scott Baker22e46b72018-05-07 09:06:53 -070076 # -----------------------------------------------------------------------------
77 # Network Templates
78 # -----------------------------------------------------------------------------
79 Private:
80 type: tosca.nodes.NetworkTemplate
81 properties:
82 name: Private
83 visibility: private
84 translation: none
85 Public shared IPv4:
86 type: tosca.nodes.NetworkTemplate
87 properties:
88 name: Public shared IPv4
89 visibility: private
90 translation: NAT
91 shared_network_name: nat-net
92 Public dedicated IPv4:
93 type: tosca.nodes.NetworkTemplate
94 properties:
95 name: Public dedicated IPv4
96 visibility: public
97 translation: none
98 shared_network_name: ext-net
99
Scott Baker22e46b72018-05-07 09:06:53 -0700100 cordServices:
101 tosca_definitions_version: tosca_simple_yaml_1_0
Scott Bakerba2c2202018-06-11 10:04:28 -0700102 description: Set up Kubernetes Service
Scott Baker22e46b72018-05-07 09:06:53 -0700103 imports:
Scott Baker22e46b72018-05-07 09:06:53 -0700104 - custom_types/kubernetesservice.yaml
Scott Baker22e46b72018-05-07 09:06:53 -0700105 - custom_types/trustdomain.yaml
106 topology_template:
107 node_templates:
108 default_trustdomain:
109 type: tosca.nodes.TrustDomain
110 properties:
111 name: "default"
112 requirements:
113 - owner:
114 node: service#kubernetes
115 relationship: tosca.relationships.BelongsToOne
Scott Baker22e46b72018-05-07 09:06:53 -0700116 service#kubernetes:
117 type: tosca.nodes.KubernetesService
118 properties:
119 name: kubernetes
Scott Baker22e46b72018-05-07 09:06:53 -0700120
121 serviceGraphConstraints:
122 tosca_definitions_version: tosca_simple_yaml_1_0
123 imports:
124 - custom_types/servicegraphconstraint.yaml
125 description: Constraints on the Services position in the graph
126 topology_template:
127 node_templates:
128 constraints:
129 type: tosca.nodes.ServiceGraphConstraint
130 properties:
Scott Bakerba2c2202018-06-11 10:04:28 -0700131 constraints: '[]'