[Issue-Id:RIC-150] Enhancement to it/test repo
[it/test.git] / ric_robot_suite / helm / nanobot / values.yaml
1 #   Copyright (c) 2019 AT&T Intellectual Property.
2 #   Copyright (c) 2019 Nokia.
3 #   Copyright (c) 2020 HCL Technologies Limited.
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
16 #
17 # configuration for this chart is split between this file and the "recipe"
18 # used by the ric-common chart.  For the most part, platform configuration
19 # is defined by that recipe, and robot configuration is here.
20 #
21
22 images:
23  ric:
24   robot:
25    job:
26     init:
27      name: alpine
28      tag: latest
29     run:
30      repository: nexus3.o-ran-sc.org:10004
31      name: o-ran-sc/it-test-nanobot
32      tag: 0.0.3
33
34      # note: the helm chart does not create repository credential secrets.
35      # If your repository requires authentication, create a docker-registry
36      # secret with
37      #
38      #   kubectl create secret docker-registry --namespace <robot-job-namespace> ...
39      #
40      # and fill in secret-name below.  Only one secret should be created per
41      # registry. The chart will take care of producing a unique  list of
42      # imagePullSecrets.
43      repositoryCred: o-ran-registry-secret
44 ric:
45  cluster:
46   # The kubernetes cluster name.  To find this, do:
47   # $ grep cluster: ${KUBECONFIG}
48   name: kubernetes
49   # the DNS domain for k8s services, typically "cluster.local"
50   domain: cluster.local
51  platform:
52   # RIC installation details.  These values mostly cover things
53   # the robot needs to know, but which aren't configured by the
54   # RIC recipe.
55   releaseName: r0
56   components:
57    a1mediator:
58     xappName: robot-xapp
59     policyID: "6266268"
60    appmgr:
61     user: test
62     password: test
63    dbaas:
64     controller:
65      type: statefulset
66      suffix: server
67      # the type of k8s controller for this entity
68      # (ie, statefulset, daemonset, deployment..)
69      # if unspecified, the default is "deployment".
70      #type: statefulset
71      # the suffix, if any, to append to the name
72      # of the controller entity.  The chart will
73      # prepend a hyphen to this string.
74      # suffix: server
75    e2mgr:
76     user: test
77     password: test
78    e2term:
79     controller:
80      suffix: alpha
81    rtmgr:
82     user: test
83     password: test
84    submgr:
85     user: test
86     password: test
87     port: 8080
88    o1mediator:
89     user: test
90     password: test
91     xapp:
92      name: robot-xapp
93      version: 1.0
94  xapp:
95   mcxapp:
96    listener:
97     containername: mc-xapp-listener
98    writer:
99     containername: mcxapp
100     # statistics sent to ves by the writer.  the tests
101     # will check that these are actually being sent
102     statistics:
103     - mc_connected_cnt
104     - throughput_gnb
105     - throughput_rollup
106     - throughput_ue
107  rbac:
108   # If true, create & use RBAC resources
109   #
110   create: true
111   clusterAdminRole: true
112   rules:
113     cluster:
114      - apiGroups:
115          - ""
116        resources:
117          - ["pods", "pods/log", "pods/exec", "services"]
118        verbs:
119          - get
120          - list
121          - watch
122          - patch
123          - update
124  robot:
125   release: r1
126   #
127   # If specified, a host filesystem
128   # path where robot output will be stored
129   log: /opt/ric/robot/log
130   #
131   # Active testsuites can be chosen by
132   # tag, testuite names, or both.  leaving
133   # either unspecified will cause all to run.
134   testsuites:
135   - ricdeployment
136   - health-check
137   - ete
138   tags:
139    enabled:
140    # - etetests
141    # - k8stests
142    disabled:
143    # - intrusive
144    # - artificialdata
145    - UpdateWebPage
146    - e2setup_dash
147    - x2setup_dash
148   #
149   job:
150    # set this to a true value to cause
151    # the job to fail (and, typically, be resubmitted)
152    # when tests fail
153    failOnTestFail: true
154    serviceAccount:
155     # by default, the job will create
156     # a temporary serviceaccount and
157     # role to allow it to access the
158     # xapp and platform namespaces.
159     # to use an existing serviceaccount,
160     # set this to false...
161     create: true
162     # ... and specify the serviceaccount here:
163     # name: nanobot
164   #
165   environment:
166     # the name of a test xapp; the appmgr testsuite
167     # will attempt to deploy and undeploy this app;
168     # This should be an xapp which is "onboarded" to
169     # the appmgr but not deployed at the time the test
170     # is initiated.
171     xapp: bouncer-xapp
172     gNodeB:
173      # the details of a test gNodeB, for [E/X]2 tests.
174      # This can be either a real gnodeb or a simulator,
175      # but in either case should exist prior to test
176      # initiation.
177      # added deployment name and deployment namespace,
178      # for Ran elements.
179      name: AAAA456789
180      address: 10.0.0.3
181      port: 36421
182      ran_deployment: e2sim
183      ran_namespace: test
184      plmnid: 373437
185      gnbid: gnb_734_733_b5c67788
186     dashboard:
187      address: 10.1.0.1
188      port: 31080
189