Add port variable for appc cdt
[oom.git] / kubernetes / appc / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
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.3.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   dbRootPassword: openECOMP1.0
41   enableClustering: true
42   configDir: /opt/onap/appc/data/properties
43   dmaapTopic: SUCCESS
44   logstashServiceName: log-ls
45   logstashPort: 5044
46   openStackType: OpenStackProvider
47   openStackName: OpenStack
48   openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
49   openStackServiceTenantName: default
50   openStackDomain: default
51   openStackUserName: admin
52   openStackEncryptedPassword: admin
53
54 mysql:
55   nameOverride: appc-db
56   service:
57     name: appc-dbhost
58   nfsprovisionerPrefix: appc
59   sdnctlPrefix: appc
60   persistence:
61     mountSubPath: appc/data
62     enabled: true
63   disableNfsProvisioner: true
64
65 dgbuilder:
66   nameOverride: appc-dgbuilder
67   config:
68     dbPodName: appc-db
69     dbServiceName: appc-dbhost
70   service:
71     name: appc-dgbuilder
72 appc-cdt:
73   nodePort3: 32
74 # default number of instances
75 replicaCount: 1
76
77 nodeSelector: {}
78
79 affinity: {}
80
81 # probe configuration parameters
82 liveness:
83   initialDelaySeconds: 10
84   periodSeconds: 10
85   # necessary to disable liveness probe when setting breakpoints
86   # in debugger so K8s doesn't restart unresponsive container
87   enabled: true
88
89 readiness:
90   initialDelaySeconds: 10
91   periodSeconds: 10
92
93 service:
94   type: NodePort
95   name: appc
96   portName: appc
97   #targetPort
98   internalPort: 8181
99   #port
100   externalPort: 8282
101   nodePort: 30
102
103   externalPort2: 1830
104   nodePort2: 31
105   clusterPort: 2550
106
107   internalPort3: 9191
108   externalPort3: 9090
109   nodePort3: 32
110
111 ## Persist data to a persitent volume
112 persistence:
113   enabled: true
114
115   ## A manually managed Persistent Volume and Claim
116   ## Requires persistence.enabled: true
117   ## If defined, PVC must be created manually before volume will be bound
118   # existingClaim:
119   volumeReclaimPolicy: Retain
120
121   ## database data Persistent Volume Storage Class
122   ## If defined, storageClassName: <storageClass>
123   ## If set to "-", storageClassName: "", which disables dynamic provisioning
124   ## If undefined (the default) or set to null, no storageClassName spec is
125   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
126   ##   GKE, AWS & OpenStack)
127   accessMode: ReadWriteOnce
128   size: 1Gi
129   mountPath: /dockerdata-nfs
130   mountSubPath: appc/mdsal
131   mdsalPath: /opt/opendaylight/current/daexim
132
133 ingress:
134   enabled: false
135
136 resources: {}
137   # We usually recommend not to specify default resources and to leave this as a conscious
138   # choice for the user. This also increases chances charts run on environments with little
139   # resources, such as Minikube. If you do want to specify resources, uncomment the following
140   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
141   #
142   # Example:
143   # Configure resource requests and limits
144   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
145   # Minimum memory for development is 2 CPU cores and 4GB memory
146   # Minimum memory for production is 4 CPU cores and 8GB memory
147 #resources:
148 #  limits:
149 #    cpu: 2
150 #    memory: 4Gi
151 #  requests:
152 #    cpu: 2
153 #    memory: 4Gi