blob: 5765d3482ded7e8a5ed06aa58b58d9d69f906ff7 [file] [log] [blame]
Mukul2b4e7532018-08-03 10:41:29 +00001# Copyright © 2018 AT&T, Amdocs, Bell Canada Intellectual Property. All rights reserved.
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
BorislavG12b61582018-03-28 19:31:32 +030015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
BorislavG12b61582018-03-28 19:31:32 +030020
Sylvain Desbureauxe1b8ac62021-02-16 10:29:00 +010021
22#################################################################
23# AAF part
24#################################################################
25
26# dependency / sub-chart configuration
27certInitializer:
28 nameOverride: appc-cdt-cert-initializer
29 truststoreMountpath: /opt/onap/appc/data/stores
30 fqdn: "appc-cdt"
31 app_ns: "org.osaaf.aaf"
32 fqi: "appc-cdt@appc-cdt.onap.org"
33 fqi_namespace: org.onap.appc-cdt
34 public_fqdn: "appc-cdt.onap.org"
35 aafDeployFqi: "deployer@people.osaaf.org"
36 aafDeployPass: demo123456!
37 cadi_latitude: "38.0"
38 cadi_longitude: "-72.0"
39 credsPath: /opt/app/osaaf/local
40 aaf_add_config: |
Sylvain Desbureaux093cccd2021-02-23 16:06:08 +010041 echo "*** transform AAF certs into pem files"
42 mkdir -p {{ .Values.credsPath }}/certs
43 openssl pkcs12 -in {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.p12 \
44 -nokeys -out {{ .Values.credsPath }}/certs/cert.pem \
45 -passin pass:$cadi_keystore_password_p12 \
46 -passout pass:$cadi_keystore_password_p12
47 echo "*** copy key file"
48 cp {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key \
49 {{ .Values.credsPath }}/certs/key.pem
50 echo "*** change ownership of certificates to targeted user"
51 chown -R 1000 {{ .Values.credsPath }}
Sylvain Desbureauxe1b8ac62021-02-16 10:29:00 +010052
BorislavG12b61582018-03-28 19:31:32 +030053#################################################################
54# Application configuration defaults.
55#################################################################
GregSulek973bfad2018-09-19 06:48:37 -040056
57flavor: small
58
BorislavG12b61582018-03-28 19:31:32 +030059# application image
Taka Chof9cd2cd2020-05-23 09:27:19 -040060image: onap/appc-cdt-image:1.7.2
BorislavG12b61582018-03-28 19:31:32 +030061pullPolicy: Always
62
63# application configuration
64config: {}
65
66# default number of instances
67replicaCount: 1
68
69nodeSelector: {}
70
71affinity: {}
72
73# probe configuration parameters
74liveness:
75 initialDelaySeconds: 10
76 periodSeconds: 10
77 # necessary to disable liveness probe when setting breakpoints
78 # in debugger so K8s doesn't restart unresponsive container
79 enabled: true
80
81readiness:
82 initialDelaySeconds: 10
83 periodSeconds: 10
84
85service:
86 type: NodePort
87 name: appc-cdt
Taka Cho2fb02612019-03-03 13:09:56 -050088 externalPort: 18080
89 internalPort: 18080
BorislavG12b61582018-03-28 19:31:32 +030090 nodePort: 89
91
92ingress:
93 enabled: false
Lucjan Bryndza684487d2019-12-02 12:20:10 +010094 service:
95 - baseaddr: appccdt
96 name: "appc-cdt"
97 port: 18080
98 config:
Sylvain Desbureaux48a2dd52020-05-06 15:19:03 +020099 ssl: "redirect"
BorislavG12b61582018-03-28 19:31:32 +0300100
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000101# Configure resource requests and limits
102# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400103resources:
104 small:
105 limits:
106 cpu: 1
107 memory: 1Gi
108 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000109 cpu: 0.5
110 memory: 500Mi
GregSulek973bfad2018-09-19 06:48:37 -0400111 large:
112 limits:
113 cpu: 2
114 memory: 2Gi
115 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000116 cpu: 1
117 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000118 unlimited: {}