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