Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 2 | # Modifications © 2020 AT&T |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 15 | global: |
| 16 | aafEnabled: true |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 17 | |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 18 | flavor: small |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 19 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 20 | ################################################################# |
| 21 | # Application configuration defaults. |
| 22 | ################################################################# |
| 23 | # application image |
Instrumental | 0c7bc94 | 2019-08-06 16:36:13 -0500 | [diff] [blame] | 24 | aaf_init: |
| 25 | # You might want this in your own app. For AAF, we store in global |
| 26 | # replicas: 1 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 27 | fqi: aaf@aaf.osaaf.org |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 28 | # This MUST match what is put in AAF's "Artifact" for Certificates |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 29 | fqdn: aaf-hello |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 30 | # What is put in Locator for External Access |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 31 | public_fqdn: aaf.osaaf.org |
Instrumental | 0c7bc94 | 2019-08-06 16:36:13 -0500 | [diff] [blame] | 32 | cadi_latitude: "38.0" |
| 33 | cadi_longitude: "-72.0" |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 34 | credsPath: /opt/app/osaaf/local |
| 35 | aafDeployFqi: deployer@people.osaaf.org |
| 36 | aafDeployPass: demo123456! |
| 37 | # aafDeployCredsExternalSecret: some secret |
| 38 | secret_uid: &aaf_secret_uid nbi-aaf-deploy-creds |
| 39 | permission_user: 1000 |
| 40 | permission_group: 999 |
| 41 | |
| 42 | replicaCount: 0 |
| 43 | |
Sylvain Desbureaux | b70b426 | 2020-05-26 09:19:12 +0200 | [diff] [blame] | 44 | image: onap/aaf/aaf_hello:2.1.20 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 45 | |
Instrumental | 0c7bc94 | 2019-08-06 16:36:13 -0500 | [diff] [blame] | 46 | service: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 47 | name: aaf-hello |
| 48 | type: ClusterIP |
| 49 | ports: |
| 50 | - name: api |
| 51 | protocol: http |
| 52 | port: 8130 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 53 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 54 | nodeSelector: {} |
| 55 | |
| 56 | affinity: {} |
| 57 | |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 58 | secrets: |
| 59 | - uid: *aaf_secret_uid |
| 60 | type: basicAuth |
| 61 | externalSecret: '{{ ternary (tpl (default "" .Values.aaf_init.aafDeployCredsExternalSecret) .) "aafIsDisabled" .Values.global.aafEnabled }}' |
| 62 | login: '{{ .Values.aaf_init.aafDeployFqi }}' |
| 63 | password: '{{ .Values.aaf_init.aafDeployPass }}' |
| 64 | passwordPolicy: required |
| 65 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 66 | # probe configuration parameters |
| 67 | liveness: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 68 | initialDelaySeconds: 30 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 69 | periodSeconds: 10 |
| 70 | # necessary to disable liveness probe when setting breakpoints |
| 71 | # in debugger so K8s doesn't restart unresponsive container |
| 72 | enabled: true |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 73 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 74 | |
| 75 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 76 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 77 | periodSeconds: 10 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 78 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 79 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 80 | ingress: |
| 81 | enabled: false |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 82 | service: |
| 83 | - baseaddr: "aafhello" |
| 84 | name: "aaf-hello" |
| 85 | port: 8130 |
| 86 | config: |
| 87 | ssl: "none" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 88 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 89 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 90 | resources: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 91 | small: |
| 92 | limits: |
| 93 | cpu: 200m |
| 94 | memory: 500Mi |
| 95 | requests: |
| 96 | cpu: 10m |
| 97 | memory: 200Mi |
| 98 | large: |
| 99 | limits: |
| 100 | cpu: 400m |
| 101 | memory: 1Gi |
| 102 | requests: |
| 103 | cpu: 20m |
| 104 | memory: 500Mi |
| 105 | unlimited: {} |