85e97b9af3b4af3281874c12a1097a60e466f888
[oom.git] / kubernetes / policy / components / policy-clamp-be / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2021 AT&T
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.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global: # global defaults
20   nodePortPrefix: 302
21   persistence: {}
22   centralizedLoggingEnabled: true
23   #AAF service
24   aafEnabled: true
25
26 #################################################################
27 # AAF part
28 #################################################################
29 certInitializer:
30   permission_user: 1000
31   permission_group: 999
32   keystoreFile: 'org.onap.clamp.p12'
33   truststoreFile: 'org.onap.clamp.trust.jks'
34   keyFile: 'org.onap.clamp.keyfile'
35   truststoreFileONAP: 'truststoreONAPall.jks'
36   nameOverride: clamp-backend-cert-initializer
37   aafDeployFqi: deployer@people.osaaf.org
38   aafDeployPass: demo123456!
39   fqdn: clamp
40   fqi: clamp@clamp.onap.org
41   public_fqdn: clamp.onap.org
42   cadi_longitude: '-72.0'
43   cadi_latitude: '38.0'
44   app_ns: org.osaaf.aaf
45   credsPath: /opt/app/osaaf/local
46   aaf_add_config: >
47     /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop;
48     cd {{ .Values.credsPath }};
49     chmod a+rx *;
50
51 secrets:
52   - uid: db-creds
53     type: basicAuth
54     externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
55     login: '{{ .Values.db.user }}'
56     password: '{{ .Values.db.password }}'
57     passwordPolicy: required
58   - uid: sdc-creds
59     type: password
60     externalSecret: '{{ tpl (default "" .Values.sdc.sdcClientExternalSecret) . }}'
61     password: '{{ .Values.sdc.clientPassword }}'
62     passwordPolicy: required
63   - uid: runtime-be-secret
64     type: basicAuth
65     externalSecret: '{{ tpl (default "" .Values.config.appUserExternalSecret) . }}'
66     login: '{{ .Values.config.policyAppUserName }}'
67     password: '{{ .Values.config.policyAppUserPassword }}'
68     passwordPolicy: required
69
70 flavor: small
71
72 # application image
73 image: onap/policy-clamp-backend:6.2.0
74 pullPolicy: Always
75
76 # flag to enable debugging - application support required
77 debugEnabled: false
78
79 # log configuration
80 log:
81   path: /var/log/onap
82
83 #################################################################
84 # Application configuration defaults.
85 #################################################################
86
87 #####dummy values for db user and password to pass lint!!!#######
88 sdc:
89   clientPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
90
91 db:
92   user: policy_user
93   password: policy_user
94   image: mariadb:10.5.8
95   service:
96     name: policy-mariadb
97     internalPort: 3306
98
99 config:
100   policyAppUserName: runtimeUser
101   policyAppUserPassword: none
102   log:
103     logstashServiceName: log-ls
104     logstashPort: 5044
105   mysqlPassword: strong_pitchou
106   dataRootDir: /dockerdata-nfs
107
108 # default number of instances
109 replicaCount: 1
110
111 nodeSelector: {}
112
113 affinity: {}
114
115 # probe configuration parameters
116 liveness:
117   initialDelaySeconds: 120
118   periodSeconds: 10
119   timeoutSeconds: 3
120   # necessary to disable liveness probe when setting breakpoints
121   # in debugger so K8s doesn't restart unresponsive container
122   enabled: true
123
124 readiness:
125   initialDelaySeconds: 10
126   periodSeconds: 10
127   timeoutSeconds: 3
128
129 service:
130   type: ClusterIP
131   name: policy-clamp-be
132   portName: policy-clamp-be
133   internalPort: 8443
134   externalPort: 8443
135
136 ingress:
137   enabled: false
138
139 #resources: {}
140 # We usually recommend not to specify default resources and to leave this as a conscious
141 # choice for the user. This also increases chances charts run on environments with little
142 # resources, such as Minikube. If you do want to specify resources, uncomment the following
143 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
144 #
145 # Example:
146 # Configure resource requests and limits
147 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
148 # Minimum memory for development is 2 CPU cores and 4GB memory
149 # Minimum memory for production is 4 CPU cores and 8GB memory
150 resources:
151   small:
152     limits:
153       cpu: 1
154       memory: 1Gi
155     requests:
156       cpu: 1m
157       memory: 1Gi
158   large:
159     limits:
160       cpu: 1
161       memory: 3Gi
162     requests:
163       cpu: 10m
164       memory: 3Gi
165   unlimited: {}
166
167 #Pods Service Account
168 serviceAccount:
169   nameOverride: policy-clamp-be
170   roles:
171     - read