blob: df3abec67c8b021e7051550c518c44840300ddc3 [file] [log] [blame]
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +00001# Copyright © 2017 Amdocs, Bell Canada
ChrisCec86a532020-03-19 15:53:31 -05002# Modifications © 2020 AT&T
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +00003#
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 Desbureaux8f9ef352020-04-14 15:02:57 +020015global:
16 aafEnabled: true
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000017
Mandeep Khinda6dcc80d2018-10-09 14:47:35 +000018flavor: small
ChrisCec86a532020-03-19 15:53:31 -050019
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000020#################################################################
21# Application configuration defaults.
22#################################################################
23# application image
Instrumental0c7bc942019-08-06 16:36:13 -050024aaf_init:
25 # You might want this in your own app. For AAF, we store in global
26 # replicas: 1
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020027 fqi: aaf@aaf.osaaf.org
ChrisCec86a532020-03-19 15:53:31 -050028# This MUST match what is put in AAF's "Artifact" for Certificates
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020029 fqdn: aaf-hello
ChrisCec86a532020-03-19 15:53:31 -050030# What is put in Locator for External Access
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020031 public_fqdn: aaf.osaaf.org
Instrumental0c7bc942019-08-06 16:36:13 -050032 cadi_latitude: "38.0"
33 cadi_longitude: "-72.0"
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020034 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
42replicaCount: 0
43
ChrisC73876b42020-05-27 15:45:34 +020044image: onap/aaf/aaf_hello:2.1.23
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000045
Instrumental0c7bc942019-08-06 16:36:13 -050046service:
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020047 name: aaf-hello
48 type: ClusterIP
49 ports:
50 - name: api
51 protocol: http
52 port: 8130
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000053
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000054nodeSelector: {}
55
56affinity: {}
57
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020058secrets:
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 Raghuwanshiafb1e2a2018-05-03 12:15:03 +000066# probe configuration parameters
67liveness:
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020068 initialDelaySeconds: 30
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000069 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 Desbureaux8f9ef352020-04-14 15:02:57 +020073 port: api
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000074
75readiness:
Instrumentalcc3a0bd2019-05-01 14:18:49 -050076 initialDelaySeconds: 5
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000077 periodSeconds: 10
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020078 port: api
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000079
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000080ingress:
81 enabled: false
Lucjan Bryndza72b12152019-11-27 10:28:28 +000082 service:
83 - baseaddr: "aafhello"
84 name: "aaf-hello"
85 port: 8130
86 config:
87 ssl: "none"
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000088
dsingh.27864a34bf2018-09-21 05:11:00 -040089# Configure resource requests and limits
Sylvain Desbureauxc10829f2019-11-29 14:43:58 +010090resources:
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020091 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: {}