New standard GO project layout
[ric-plt/appmgr.git] / helm_chart / appmgr / 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 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18
19 # Modify this section to point to Docker image repository
20 image:
21   #repository: "snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001"
22   repository: "k8s-cluster-docker-helm-repo:5000"
23   
24   #repositoryCred:
25   #  user: docker
26   #  password: docker
27   pullPolicy: Always 
28   
29 # This section describes xAppManager
30   replicaCount: 1
31
32   # xAppmanager Docker image name and tag
33   name: appmgr
34   tag: 1.0.0 
35
36   #nameOverride: ""
37   #fullnameOverride: ""
38
39   containerPort: 8080
40
41 service:
42   type: NodePort 
43   port: 8080
44   nodePort: 30218
45   name: appmgr-service
46   health_alive_check_endpoint: ric/v1/health/alive
47   health_ready_check_endpoint: ric/v1/health/ready
48
49 # config
50 # Path referred in appmgr for retrieving configuration details
51 appconfigpath: /opt/ric/config
52 appconfig:
53   # To be present as files under appconfigpath
54   # Use your own environment addresses
55   appmgr.yaml: |
56     "local":
57       # Port on which the appmgr REST services are provided
58       "host": ":8080"
59     "helm":
60       # Remote helm repo URL. UPDATE this as required.
61       "repo": "https://k8s-cluster-docker-helm-repo/helm_charts"
62
63       # Repo name referred within the appmgr
64       "repo-name": "helm-repo"
65
66       # Tiller service details in the cluster. UPDATE this as required.
67       "tiller-service": "tiller-deploy"
68       "tiller-namespace": "kube-system"
69       "tiller-port": "44134"
70
71       # helm username and password files
72       "helm-username-file": "/opt/ric/secret/helm_repo_username"
73       "helm-password-file": "/opt/ric/secret/helm_repo_password"
74     "xapp":
75       #Namespace to install xAPPs
76       "namespace": "ricxapp"
77
78       #File containing xAPP message types
79       "msg_type_file": "msg_type.yaml"
80
81 # To be provided as env variables
82 appenv:
83   NAME: appmgr-env
84   #ENV1: "envvalue1"
85   #ENV2: "envvalue2"
86
87 # secret
88 # Path referred in appmgr for retrieving helm repo secrets
89 appsecretpath: /opt/ric/secret
90
91 # Secret object with credentials that should be created in K8S cluster. 
92 # Parameters in this object are currently referred by appmgr to connect to helm repo and these are:
93 # helm_repo_username
94 # helm_repo_password
95 appsecretobject: appmgr-creds
96
97 # certificates
98 # Path referred in appmgr for retrieving helm repo client certificates
99 appcertpath: /opt/ric/certificates
100
101 # configMap object in K8S cluster that holds the client side certificates to connect to helm repo.
102 # Currently all certificates mounted by this object are copied to /etc/ssl/certs
103 appcertobject: appmgr-certs
104
105 resources: {}
106 # limits:
107 #   cpu: 100m
108 #   memory: 128Mi
109 # requests:
110 #   cpu: 100m
111 #   memory: 128Mi
112
113 nodeSelector: {}
114
115 tolerations: []
116
117 affinity: {}
118