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