007f7238ac14b939db8746342191c883d2fde7b9
[oom.git] / kubernetes / appc / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   persistence:
25     mountPath: /dockerdata-nfs
26
27 #################################################################
28 # Application configuration defaults.
29 #################################################################
30 # application image
31 repository: nexus3.onap.org:10001
32 image: onap/appc-image:1.4.0-SNAPSHOT-latest
33 pullPolicy: Always
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 # application configuration
39 config:
40   aafExtIP: 127.0.0.1
41   aafExtFQDN: aaf-onap-beijing-test.osaaf.org
42   ansibleServiceName: appc-ansible-server
43   ansiblePort: 8000
44   dbRootPassword: openECOMP1.0
45   enableAAF: false
46   enableClustering: true
47   configDir: /opt/onap/appc/data/properties
48   dmaapTopic: SUCCESS
49   logstashServiceName: log-ls
50   logstashPort: 5044
51   openStackType: OpenStackProvider
52   openStackName: OpenStack
53   openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
54   openStackServiceTenantName: default
55   openStackDomain: default
56   openStackUserName: admin
57   openStackEncryptedPassword: admin
58
59 appc-ansible-server:
60   service:
61     name: appc-ansible-server
62     internalPort: 8000
63   config:
64     mysqlServiceName: appc-dbhost
65
66 mysql:
67   nameOverride: appc-db
68   service:
69     name: appc-dbhost
70   nfsprovisionerPrefix: appc
71   sdnctlPrefix: appc
72   persistence:
73     mountSubPath: appc/data
74     enabled: true
75   disableNfsProvisioner: true
76
77 dgbuilder:
78   nameOverride: appc-dgbuilder
79   config:
80     dbPodName: appc-db
81     dbServiceName: appc-dbhost
82   service:
83     name: appc-dgbuilder
84
85 #passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
86 appc-cdt:
87   nodePort3: 11
88 # default number of instances
89 replicaCount: 1
90
91 nodeSelector: {}
92
93 affinity: {}
94
95 # probe configuration parameters
96 liveness:
97   initialDelaySeconds: 10
98   periodSeconds: 10
99   # necessary to disable liveness probe when setting breakpoints
100   # in debugger so K8s doesn't restart unresponsive container
101   enabled: true
102
103 readiness:
104   initialDelaySeconds: 10
105   periodSeconds: 10
106
107 service:
108   type: NodePort
109   name: appc
110   portName: appc
111   #targetPort
112   internalPort: 8181
113   #port
114   externalPort: 8282
115   nodePort: 30
116
117   externalPort2: 1830
118   nodePort2: 31
119   clusterPort: 2550
120
121   internalPort3: 9191
122   externalPort3: 9090
123   nodePort3: 11
124
125 ## Persist data to a persitent volume
126 persistence:
127   enabled: true
128
129   ## A manually managed Persistent Volume and Claim
130   ## Requires persistence.enabled: true
131   ## If defined, PVC must be created manually before volume will be bound
132   # existingClaim:
133   volumeReclaimPolicy: Retain
134
135   ## database data Persistent Volume Storage Class
136   ## If defined, storageClassName: <storageClass>
137   ## If set to "-", storageClassName: "", which disables dynamic provisioning
138   ## If undefined (the default) or set to null, no storageClassName spec is
139   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
140   ##   GKE, AWS & OpenStack)
141   accessMode: ReadWriteOnce
142   size: 1Gi
143   mountPath: /dockerdata-nfs
144   mountSubPath: appc/mdsal
145   mdsalPath: /opt/opendaylight/current/daexim
146
147 ingress:
148   enabled: false
149
150 resources: {}
151   # We usually recommend not to specify default resources and to leave this as a conscious
152   # choice for the user. This also increases chances charts run on environments with little
153   # resources, such as Minikube. If you do want to specify resources, uncomment the following
154   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
155   #
156   # Example:
157   # Configure resource requests and limits
158   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
159   # Minimum memory for development is 2 CPU cores and 4GB memory
160   # Minimum memory for production is 4 CPU cores and 8GB memory
161 #resources:
162 #  limits:
163 #    cpu: 2
164 #    memory: 4Gi
165 #  requests:
166 #    cpu: 2
167 #    memory: 4Gi