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