Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / appc / components / appc-ansible-server / 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   persistence: {}
21
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 flavor: small
26
27 # application image
28 image: onap/ccsdk-ansible-server-image:0.4.4
29 pullPolicy: Always
30
31 # flag to enable debugging - application support required
32 debugEnabled: false
33
34 # application configuration
35 config:
36   ansibleUid: 100
37   ansibleGid: 101
38   appcChartName: appc
39   mysqlServiceName: appc-db
40   configDir: /opt/onap/ccsdk
41
42 # default number of instances
43 replicaCount: 1
44
45 nodeSelector: {}
46
47 affinity: {}
48
49 # probe configuration parameters
50 liveness:
51   initialDelaySeconds: 180
52   periodSeconds: 10
53   # necessary to disable liveness probe when setting breakpoints
54   # in debugger so K8s doesn't restart unresponsive container
55   enabled: true
56
57 readiness:
58   initialDelaySeconds: 60
59   periodSeconds: 10
60
61 service:
62   type: ClusterIP
63   name: appc-ansible-server
64   portName: appc-ansible-server
65   internalPort: 8000
66   externalPort: 8000
67   nfsprovisionerPrefix: appc
68   disableNfsProvisioner: true
69
70 ## Persist data to a persitent volume
71 persistence:
72   enabled: true
73
74   ## A manually managed Persistent Volume and Claim
75   ## Requires persistence.enabled: true
76   ## If defined, PVC must be created manually before volume will be bound
77   # existingClaim:
78   volumeReclaimPolicy: Retain
79
80   ## database data Persistent Volume Storage Class
81   ## If defined, storageClassName: <storageClass>
82   ## If set to "-", storageClassName: "", which disables dynamic provisioning
83   ## If undefined (the default) or set to null, no storageClassName spec is
84   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
85   ##   GKE, AWS & OpenStack)
86   accessMode: ReadWriteOnce
87   size: 1Gi
88   mountPath: /dockerdata-nfs
89   mountSubPath: appc/ansible
90   playbookPath: /home/ansible
91
92 ingress:
93   enabled: false
94
95 resources:
96   small:
97     limits:
98       cpu: 1
99       memory: 1Gi
100     requests:
101       cpu: 0.5
102       memory: 0.5Mi
103   large:
104     limits:
105       cpu: 2
106       memory: 2Gi
107     requests:
108       cpu: 1
109       memory: 1Gi
110   unlimited: {}