FIX: move some end-to-end test configs to values.yaml for nanobot
[it/test.git] / ric_robot_suite / helm / nanobot / values.yaml
1 #   Copyright (c) 2019 AT&T Intellectual Property.
2 #   Copyright (c) 2019 Nokia.
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
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: snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001
31      name: test/nanobot
32      tag: latest
33      # note: the helm chart does not create repository credential secrets.
34      # If your repository requires authentication, create a docker-registry 
35      # secret with
36      #
37      #   kubectl create secret docker-registry --namespace <robot-job-namespace> ...
38      #
39      # and fill in secret-name below.  Only one secret should be created per
40      # registry. The chart will take care of producing a unique  list of
41      # imagePullSecrets.
42      repositoryCred: azure-secret
43 ric:
44  cluster:
45   # The kubernetes cluster name.  To find this, do:
46   # $ grep cluster: ${KUBECONFIG}
47   name: kubernetes
48   # the DNS domain for k8s services, typically "cluster.local"
49   domain: cluster.local
50  platform:
51   # RIC installation details.  The values
52   # for these can typically be found in
53   # the ricplt/ric_env.sh file from the ric
54   # platform source tree
55   releaseName: r0
56   components:
57    appmgr:
58     user: test
59     password: test
60    rtmgr:
61     user: test
62     password: test
63    e2mgr:
64     user: test
65     password: test
66    e2term:
67    a1mediator:
68  xapp:
69   anr:
70    servicename: anr
71  robot:
72   release: r1
73   #
74   # If specified, a host filesystem
75   # path where robot output will be stored 
76   # log: /opt/ric/robot/log
77   #
78   # Active testsuites can be chosen by
79   # tag, testuite names, or both.  leaving
80   # either unspecified will cause all to run.
81   testsuites:
82   # - ricdeployment
83   # - healthcheck
84   tags:
85    enabled:
86    # - etetests
87    # - k8stests
88    disabled:
89    # - intrusive
90    # - artificialdata
91    - UpdateWebPage
92    - e2setup_dash
93    - x2setup_dash
94   #
95   job:
96    # set this to a true value to cause
97    # the job to fail (and, typically, be resubmitted)
98    # when tests fail
99    failOnTestFail: false
100    serviceAccount:
101     # by default, the job will create
102     # a temporary serviceaccount and
103     # role to allow it to access the
104     # xapp and platform namespaces.
105     # to use an existing serviceaccount,
106     # set this to false...
107     create: true
108     # ... and specify the serviceaccount here:
109     # name: nanobot
110   #    
111   environment:
112     # the name of a test xapp; the appmgr testsuite
113     # will attempt to deploy and undeploy this app;
114     # This should be an xapp which is "onboarded" to
115     # the appmgr but not deployed at the time the test
116     # is initiated.
117     xapp: xapp-std
118     gNodeB:
119      # the details of a test gNodeB, for [E/X]2 tests.
120      # This can be either a real gnodeb or a simulator,
121      # but in either case should exist prior to test
122      # initiation.
123      name: AAAA456789
124      address: 10.0.0.3
125      port: 36421