Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 1 | # Copyright 2018 Intel Corporation, Inc |
| 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 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 20 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
Kiran Kamineni | e4e81e7 | 2018-04-09 10:14:32 -0700 | [diff] [blame] | 24 | persistence: {} |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 25 | flavor: small |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 31 | image: onap/aaf/sms:latest |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | # application configuration |
| 38 | # Example: |
| 39 | config: |
Kiran Kamineni | 992e1ad | 2018-04-06 15:42:40 -0700 | [diff] [blame] | 40 | smsdbaddress: "http://aaf-sms-db:8200" |
Kiran Kamineni | c808c9a | 2018-05-14 16:59:55 -0700 | [diff] [blame] | 41 | cafile: "/sms/certs/aaf_root_ca.cer" |
| 42 | servercert: "/sms/certs/aaf-sms.pub" |
| 43 | serverkey: "/sms/certs/aaf-sms.pr" |
| 44 | password: "c2VjcmV0bWFuYWdlbWVudHNlcnZpY2VzZWNyZXRwYXNzd29yZA==" |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 45 | |
| 46 | # subchart configuration |
| 47 | vault: |
| 48 | nameOverride: smsdb |
| 49 | |
| 50 | # default number of instances |
| 51 | replicaCount: 1 |
| 52 | |
| 53 | nodeSelector: {} |
| 54 | |
| 55 | affinity: {} |
| 56 | |
| 57 | # probe configuration parameters |
| 58 | liveness: |
| 59 | initialDelaySeconds: 10 |
Kiran Kamineni | c808c9a | 2018-05-14 16:59:55 -0700 | [diff] [blame] | 60 | periodSeconds: 30 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 61 | # necessary to disable liveness probe when setting breakpoints |
| 62 | # in debugger so K8s doesn't restart unresponsive container |
| 63 | enabled: true |
| 64 | |
| 65 | readiness: |
| 66 | initialDelaySeconds: 10 |
Kiran Kamineni | c808c9a | 2018-05-14 16:59:55 -0700 | [diff] [blame] | 67 | periodSeconds: 30 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 68 | |
| 69 | service: |
| 70 | type: NodePort |
Kiran Kamineni | 992e1ad | 2018-04-06 15:42:40 -0700 | [diff] [blame] | 71 | name: aaf-sms |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 72 | portName: aaf-sms |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 73 | internalPort: 10443 |
| 74 | nodePort: 43 |
| 75 | |
Kiran Kamineni | e4e81e7 | 2018-04-09 10:14:32 -0700 | [diff] [blame] | 76 | persistence: |
| 77 | enabled: true |
| 78 | volumeReclaimPolicy: Retain |
| 79 | accessMode: ReadWriteOnce |
| 80 | size: 1Gi |
| 81 | mountPath: /dockerdata-nfs |
| 82 | mountSubPath: sms/auth |
| 83 | |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 84 | ingress: |
| 85 | enabled: false |
| 86 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 87 | # Configure resource requests and limits |
| 88 | resources: |
| 89 | small: |
| 90 | limits: |
| 91 | cpu: 200m |
| 92 | memory: 500Mi |
| 93 | requests: |
| 94 | cpu: 10m |
| 95 | memory: 10Mi |
| 96 | large: |
| 97 | limits: |
| 98 | cpu: 400m |
| 99 | memory: 1Gi |
| 100 | requests: |
| 101 | cpu: 10m |
| 102 | memory: 100Mi |
| 103 | unlimited: {} |