2a27c140eb959cdb6430eb552487e99ecb5b6d09
[oom.git] / kubernetes / clamp / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2019 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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   centralizedLoggingEnabled: false
26
27 secrets:
28   - uid: db-root-pass
29     name: &dbRootPass '{{ include "common.release" . }}-clamp-db-root-pass'
30     type: password
31     password: '{{ .Values.db.rootPass }}'
32   - uid: db-secret
33     name: &dbUserPass '{{ include "common.release" . }}-clamp-db-user-pass'
34     type: basicAuth
35     login: '{{ .Values.db.user }}'
36     password: '{{ .Values.db.password }}'
37
38 db:
39   user: clds
40 #  password: sidnnd83K
41   databaseName: &dbName cldsdb4
42 #    rootPass: emrys  user: testos
43
44 clamp-backend:
45   db:
46     userCredsExternalSecret: *dbUserPass
47     databaseName: *dbName
48 mariadb:
49   db:
50     rootCredsExternalSecret: *dbRootPass
51     userCredsExternalSecret: *dbUserPass
52     databaseName: *dbName
53
54 subChartsOnly:
55   enabled: true
56
57 flavor: small
58
59 # application image
60 repository: nexus3.onap.org:10001
61 image: onap/clamp-frontend:5.0.7
62 pullPolicy: Always
63
64 # flag to enable debugging - application support required
65 debugEnabled: false
66
67 # log configuration
68 log:
69   path: /var/log/nginx/
70
71 #################################################################
72 # Application configuration defaults.
73 #################################################################
74 config:
75   log:
76     logstashServiceName: log-ls
77     logstashPort: 5044
78   dataRootDir: /dockerdata-nfs
79
80 # default number of instances
81 replicaCount: 1
82
83 nodeSelector: {}
84
85 affinity: {}
86
87 # probe configuration parameters
88 liveness:
89   initialDelaySeconds: 120
90   periodSeconds: 10
91   # necessary to disable liveness probe when setting breakpoints
92   # in debugger so K8s doesn't restart unresponsive container
93   enabled: true
94
95 readiness:
96   initialDelaySeconds: 10
97   periodSeconds: 10
98
99
100 service:
101   type: NodePort
102   name: clamp-external
103   portName: clamp-external
104   internalPort: 2443
105   nodePort: 58
106
107   # as of 20180904 port 58 is reserved for clamp from log/logdemonode
108   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
109
110   type2: ClusterIP
111   name2: clamp
112   portName2: clamp-internal
113   internalPort2: 2443
114   externalPort2: 8443
115
116 ingress:
117   enabled: false
118   service:
119     - baseaddr: "clamp.api"
120       name: "clamp"
121       port: 2443
122   config:
123     ssl: "redirect"
124
125 #resources: {}
126   # We usually recommend not to specify default resources and to leave this as a conscious
127   # choice for the user. This also increases chances charts run on environments with little
128   # resources, such as Minikube. If you do want to specify resources, uncomment the following
129   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
130   #
131   # Example:
132   # Configure resource requests and limits
133   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
134   # Minimum memory for development is 2 CPU cores and 4GB memory
135   # Minimum memory for production is 4 CPU cores and 8GB memory
136 resources:
137   small:
138     limits:
139       cpu: 1
140       memory: 200Mi
141     requests:
142       cpu: 10m
143       memory: 50Mi
144   large:
145     limits:
146       cpu: 1
147       memory: 500Mi
148     requests:
149       cpu: 10m
150       memory: 50Mi
151   unlimited: {}