blob: 1c0cd43c6f9872653963fad58e5f079871e17a56 [file] [log] [blame]
Ramesh Parthasarathy3aae7c02020-05-20 22:47:57 +00001# Copyright © 2020 AT&T USA
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# Global configuration defaults.
16#################################################################
17
18global:
19 nodePortPrefix: 302
20 nodePortPrefixExt: 304
21 repository: nexus3.onap.org:10001
22 readinessRepository: oomk8s
23 readinessImage: readiness-check:2.0.2
24 persistence:
25 mountPath: /dockerdata-nfs
26 htpasswdImage: xmartlabs/htpasswd
27 dockerHubRepository: docker.io
28#################################################################
29# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: db-user-creds
33 type: basicAuth
34 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
35 login: '{{ .Values.db.userName }}'
36 password: '{{ .Values.db.userPassword }}'
37 passwordPolicy: required
38 - uid: db-admin-creds
39 type: basicAuth
40 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
41 login: '{{ .Values.db.adminName }}'
42 password: '{{ .Values.db.adminPassword }}'
43 passwordPolicy: required
44 - uid: "so-onap-certs"
45 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
46 type: generic
47 filePaths: '{{ .Values.secretsFilePaths }}'
48 - uid: server-actuator-creds
49 name: '{{ include "common.release" . }}-so-appc-actuator-creds'
50 type: basicAuth
51 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
52 login: '{{ .Values.server.actuator.username }}'
53 password: '{{ .Values.server.actuator.password }}'
54 passwordPolicy: required
55
56#secretsFilePaths: |
57# - 'my file 1'
58# - '{{ include "templateThatGeneratesFileName" . }}'
59
60#################################################################
61# Application configuration defaults.
62#################################################################
63repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053064image: onap/so/so-appc-orchestrator:1.6.4
Ramesh Parthasarathy3aae7c02020-05-20 22:47:57 +000065pullPolicy: Always
66
67db:
68 userName: so_user
69 userPassword: so_User123
70 # userCredsExternalSecret: some secret
71 adminName: so_admin
72 adminPassword: so_Admin123
73 # adminCredsExternalSecret: some secret
74server:
75 actuator:
76 username: mso_admin
77 password: password1$
78replicaCount: 1
79minReadySeconds: 10
80containerPort: 8080
81logPath: ./logs/soappcorch
82app: appc-orchestrator
83service:
84 name: so-appc-orchestrator
85 type: ClusterIP
86 ports:
87 - port: 8080
88 name: http
89updateStrategy:
90 type: RollingUpdate
91 maxUnavailable: 1
92 maxSurge: 1
93# Resource Limit flavor -By Default using small
94flavor: small
95# Segregation for Different environment (Small and Large)
96resources:
97 small:
98 limits:
99 memory: 4Gi
100 cpu: 2000m
101 requests:
102 memory: 1Gi
103 cpu: 500m
104 large:
105 limits:
106 memory: 8Gi
107 cpu: 4000m
108 requests:
109 memory: 2Gi
110 cpu: 1000m
111 unlimited: {}
112livenessProbe:
113 path: /manage/health
114 port: 8083
115 scheme: HTTP
116 initialDelaySeconds: 600
117 periodSeconds: 60
118 timeoutSeconds: 10
119 successThreshold: 1
120 failureThreshold: 3
121ingress:
122 enabled: false
123nodeSelector: {}
124tolerations: []
125affinity: {}