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