Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 1 | --- |
| 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 Baker | 25ae395 | 2018-06-07 15:10:48 -0700 | [diff] [blame] | 16 | # Default values for the base-kubernetes profile. |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | |
| 20 | replicaCount: 1 |
| 21 | |
| 22 | nameOverride: "" |
| 23 | fullnameOverride: "" |
| 24 | |
Zack Williams | d9d6b35 | 2018-10-05 07:53:30 -0700 | [diff] [blame] | 25 | # tosca loader container |
Luca Prete | b2f21b5 | 2018-11-20 15:12:21 -0800 | [diff] [blame] | 26 | images: |
| 27 | tosca_loader: |
| 28 | repository: 'xosproject/tosca-loader' |
| 29 | tag: '{{ .Chart.AppVersion }}' |
| 30 | pullPolicy: 'Always' |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 31 | |
Zack Williams | d9d6b35 | 2018-10-05 07:53:30 -0700 | [diff] [blame] | 32 | global: |
| 33 | registry: "" |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 34 | |
| 35 | xosAdminUser: "admin@opencord.org" |
| 36 | xosAdminPassword: "letmein" |
| 37 | |
| 38 | # TOSCA recipes for the tosca-loader |
| 39 | toscaRecipes: |
| 40 | fixtures: |
| 41 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 42 | description: Some basic fixtures |
| 43 | imports: |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 44 | - 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 Baker | 4206a5f | 2019-02-28 17:07:04 -0800 | [diff] [blame] | 75 | |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 76 | # ----------------------------------------------------------------------------- |
| 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 Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 100 | cordServices: |
| 101 | tosca_definitions_version: tosca_simple_yaml_1_0 |
Scott Baker | ba2c220 | 2018-06-11 10:04:28 -0700 | [diff] [blame] | 102 | description: Set up Kubernetes Service |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 103 | imports: |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 104 | - custom_types/kubernetesservice.yaml |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 105 | - 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 Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 116 | service#kubernetes: |
| 117 | type: tosca.nodes.KubernetesService |
| 118 | properties: |
| 119 | name: kubernetes |
Scott Baker | 22e46b7 | 2018-05-07 09:06:53 -0700 | [diff] [blame] | 120 | |
| 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 Baker | ba2c220 | 2018-06-11 10:04:28 -0700 | [diff] [blame] | 131 | constraints: '[]' |