8d7167873d9cd1a494f1c651808984723494ccd2
[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: IfNotPresent
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_check_endpoint: ric/v1/health  
47
48 # config
49 # Path referred in appmgr for retrieving configuration details
50 appconfigpath: /opt/ric/config
51 appconfig:
52   # To be present as files under appconfigpath
53   # Use your own environment addresses
54   appmgr.yaml: |
55     "local":
56       # Port on which the appmgr REST services are provided
57       "host": ":8080"
58     "helm":
59       # Remote helm repo URL. UPDATE this as required.
60       "repo": "https://k8s-cluster-docker-helm-repo/helm_charts"
61
62       # Repo name referred within the appmgr
63       "repo-name": "helm-repo"
64
65       # Tiller service details in the cluster. UPDATE this as required.
66       "tiller-service": "tiller-deploy"
67       "tiller-namespace": "kube-system"
68       "tiller-port": "44134"
69
70       # helm username and password files
71       "helm-username-file": "/opt/ric/secret/helm_repo_username"
72       "helm-password-file": "/opt/ric/secret/helm_repo_password"
73     "xapp":
74       #Namespace to install xAPPs
75       "namespace": ricxapp
76
77 # To be provided as env variables
78 appenv:
79   NAME: appmgr-env
80   #ENV1: "envvalue1"
81   #ENV2: "envvalue2"
82
83 # secret
84 # Path referred in appmgr for retrieving helm repo secrets
85 appsecretpath: /opt/ric/secret
86
87 # Secret object with credentials that should be created in K8S cluster. 
88 # Parameters in this object are currently referred by appmgr to connect to helm repo and these are:
89 # helm_repo_username
90 # helm_repo_password
91 appsecretobject: appmgr-creds
92
93 # certificates
94 # Path referred in appmgr for retrieving helm repo client certificates
95 appcertpath: /opt/ric/certificates
96
97 # configMap object in K8S cluster that holds the client side certificates to connect to helm repo.
98 # Currently all certificates mounted by this object are copied to /etc/ssl/certs
99 appcertobject: appmgr-certs
100
101 resources: {}
102 # limits:
103 #   cpu: 100m
104 #   memory: 128Mi
105 # requests:
106 #   cpu: 100m
107 #   memory: 128Mi
108
109 nodeSelector: {}
110
111 tolerations: []
112
113 affinity: {}
114