Merge "[SO] don't use SO repositoryOverride for soHelper"
[oom.git] / kubernetes / sdc / components / sdc-onboarding-be / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T, ZTE
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:
20   nodePortPrefix: 302
21   readinessImage: onap/oom/readiness:3.0.1
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   aafEnabled: true
25   persistence: {}
26   cassandra:
27     #This flag allows SDC to instantiate its own cluster, serviceName
28     #should be sdc-cs if this flag is enabled
29     localCluster: false
30     #The cassandra service name to connect to (default: shared cassandra service)
31     serviceName: cassandra
32     #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
33     #to match with its own cluster replica
34     replicaCount: 3
35     clusterName: cassandra
36     dataCenter: Pod
37
38 #################################################################
39 # AAF Part
40 #################################################################
41 certInitializer:
42   nameOverride: sdc-onboarding-be-cert-init
43   aafDeployFqi: deployer@people.osaaf.org
44   aafDeployPass: demo123456!
45   fqdn: sdc
46   fqi: sdc@sdc.onap.org
47   public_fqdn: sdc.onap.org
48   cadi_longitude: "0.0"
49   cadi_latitude: "0.0"
50   app_ns: org.osaaf.aaf
51   credsPath: /opt/app/osaaf/local
52   addconfig: true
53   keystoreFile: "org.onap.sdc.p12"
54   truststoreFile: "org.onap.sdc.trust.jks"
55   permission_user: 352070
56   permission_group: 35953
57   aaf_add_config: >
58     /opt/app/aaf_config/bin/agent.sh local showpass
59     {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
60
61 #################################################################
62 # Application configuration defaults.
63 #################################################################
64 # application image
65 repository: nexus3.onap.org:10001
66 image: onap/sdc-onboard-backend:1.7.2
67 onboardingInitImage: onap/sdc-onboard-cassandra-init:1.7.2
68 pullPolicy: Always
69
70 # flag to enable debugging - application support required
71 debugEnabled: false
72
73 config:
74   javaOptions: "-Xmx1g -Xms1g"
75   cassandraSslEnabled: "false"
76
77 #environment file
78 env:
79   name: AUTO
80
81 # default number of instances
82 replicaCount: 1
83
84 nodeSelector: {}
85
86 affinity: {}
87
88 # probe configuration parameters
89 liveness:
90   initialDelaySeconds: 120
91   periodSeconds: 60
92   timeoutSeconds: 15
93   # necessary to disable liveness probe when setting breakpoints
94   # in debugger so K8s doesn't restart unresponsive container
95   enabled: true
96
97 readiness:
98   initialDelaySeconds: 120
99   periodSeconds: 60
100   timeoutSeconds: 15
101
102 service:
103   type: ClusterIP
104   name: sdc-onboarding-be
105   portName: sdc-onboarding-be
106   internalPort: 8445
107   externalPort: 8445
108   internalPort2: 8081
109   externalPort2: 8081
110
111 ## Persist data to a persitent volume
112 persistence:
113   enabled: true
114
115   ## A manually managed Persistent Volume and Claim
116   ## Requires persistence.enabled: true
117   ## If defined, PVC must be created manually before volume will be bound
118   # existingClaim:
119   volumeReclaimPolicy: Retain
120
121   ## database data Persistent Volume Storage Class
122   ## If defined, storageClassName: <storageClass>
123   ## If set to "-", storageClassName: "", which disables dynamic provisioning
124   ## If undefined (the default) or set to null, no storageClassName spec is
125   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
126   ##   GKE, AWS & OpenStack)
127   ##
128   # storageClass: "-"
129   accessMode: ReadWriteOnce
130   size: 2Gi
131   mountPath: /dockerdata-nfs
132   mountSubPath: /sdc/sdc-cs/CS
133
134 ##Certificate storage persistence
135 ##This is temporary solution for SDC-1980
136 cert:
137   certDir: /var/lib/jetty/cert
138   persistence:
139     enabled: true
140     size: 10Mi
141     accessMode: ReadWriteOnce
142     volumeReclaimPolicy: Retain
143     mountSubPath: /sdc/onbaording/cert
144
145 securityContext:
146   fsGroup: 35953
147   runAsUser: 352070
148
149 ingress:
150   enabled: false
151
152 # Resource Limit flavor -By Default using small
153 flavor: small
154 # Segregation for Different environment (Small and Large)
155 resources:
156   small:
157     limits:
158       cpu: 500m
159       memory: 2Gi
160     requests:
161       cpu: 40m
162       memory: 1Gi
163   large:
164     limits:
165       cpu: 1
166       memory: 4Gi
167     requests:
168       cpu: 80m
169       memory: 2Gi
170   unlimited: {}