blob: 1588bc52d6eea87da6720065934d5ac37521a27f [file] [log] [blame]
Aaron Hay343e6002018-08-21 13:55:00 -04001# 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#################################################################
18global:
19 nodePortPrefix: 302
Sylvain Desbureaux856fce12020-11-21 22:48:15 +010020 persistence: {}
Aaron Hay343e6002018-08-21 13:55:00 -040021
22#################################################################
23# Application configuration defaults.
24#################################################################
GregSulek973bfad2018-09-19 06:48:37 -040025flavor: small
26
Aaron Hay343e6002018-08-21 13:55:00 -040027# application image
Taka Choa7acb7f2019-09-25 17:25:39 -040028image: onap/ccsdk-ansible-server-image:0.4.4
Aaron Hay343e6002018-08-21 13:55:00 -040029pullPolicy: Always
30
31# flag to enable debugging - application support required
32debugEnabled: false
33
34# application configuration
35config:
Taka Cho72759852019-06-26 13:51:46 -040036 ansibleUid: 100
37 ansibleGid: 101
Aaron Hay343e6002018-08-21 13:55:00 -040038 appcChartName: appc
39 mysqlServiceName: appc-dbhost
Aaron Hay0fc90762019-03-20 19:48:42 -040040 configDir: /opt/onap/ccsdk
Aaron Hay343e6002018-08-21 13:55:00 -040041
42# default number of instances
43replicaCount: 1
44
45nodeSelector: {}
46
47affinity: {}
48
49# probe configuration parameters
50liveness:
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
57readiness:
58 initialDelaySeconds: 60
59 periodSeconds: 10
60
61service:
62 type: ClusterIP
63 name: appc-ansible-server
64 portName: appc-ansible-server
65 internalPort: 8000
66 externalPort: 8000
Aaron Hay0fc90762019-03-20 19:48:42 -040067 nfsprovisionerPrefix: appc
68 disableNfsProvisioner: true
69
70## Persist data to a persitent volume
71persistence:
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)
Sylvain Desbureaux386d9e92019-11-05 11:41:53 +010086 accessMode: ReadWriteOnce
Aaron Hay0fc90762019-03-20 19:48:42 -040087 size: 1Gi
88 mountPath: /dockerdata-nfs
89 mountSubPath: appc/ansible
Taka Cho72759852019-06-26 13:51:46 -040090 playbookPath: /home/ansible
Aaron Hay343e6002018-08-21 13:55:00 -040091
92ingress:
93 enabled: false
94
GregSulek973bfad2018-09-19 06:48:37 -040095resources:
96 small:
97 limits:
98 cpu: 1
99 memory: 1Gi
100 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000101 cpu: 0.5
102 memory: 0.5Mi
GregSulek973bfad2018-09-19 06:48:37 -0400103 large:
104 limits:
105 cpu: 2
106 memory: 2Gi
107 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000108 cpu: 1
109 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000110 unlimited: {}