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: {} |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Alexis de Talhouƫt | 697e996 | 2018-09-19 11:58:29 -0400 | [diff] [blame^] | 31 | image: onap/aaf/sms:2.0.0 |
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 | |
| 87 | resources: {} |
| 88 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 89 | # choice for the user. This also increases chances charts run on environments with little |
| 90 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 91 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 92 | # |
| 93 | # Example: |
| 94 | # Configure resource requests and limits |
| 95 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 96 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 97 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 98 | #resources: |
| 99 | # limits: |
| 100 | # cpu: 2 |
| 101 | # memory: 4Gi |
| 102 | # requests: |
| 103 | # cpu: 2 |
| 104 | # memory: 4Gi |