aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/so/values.yaml
blob: 229decdf383a563645a55c4c913eb8cc921308c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
# Copyright © 2018 AT&T USA
# Copyright © 2020 Huawei
# Copyright © 2021 Orange
# Modifications Copyright © 2023 Nordix Foundation
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#################################################################
# Global configuration defaults.
#################################################################
global:
  nodePortPrefix: 302
  nodePortPrefixExt: 304
  centralizedLoggingEnabled: true
  mariadbGalera:
    # flag to enable the DB creation via mariadb-operator
    useOperator: true
    nameOverride: mariadb-galera
    servicePort: '3306'
    service: mariadb-galera
    internalPort: '3306'
    #This flag allows SO to instantiate its own mariadb-galera cluster,
    #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
    localCluster: false
  persistence:
    mountPath: /dockerdata-nfs
  #This configuration specifies Service and port for SDNC OAM interface
  sdncOamService: sdnc-oam
  sdncOamPort: 8282
  #This configuration will run the migration. The configurations are for backing up the data
  #from DB and then restoring it to the present versions preferred DB.
  migration:
    enabled: false
    dbHost: mariadb-galera
    dbPort: 3306
    dbUser: root
    dbPassword: secretpassword
    # dbCredsExternalSecret: some secret
  msbEnabled: true
  app:
    siteName: onapheat
    auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
    defaultCloudOwner: onap

readinessCheck:
  wait_for:
    jobs:
      - '{{ include "common.release" . }}-so-mariadb-config-job'

#################################################################
# Secrets metaconfig
#################################################################
secrets:
  - uid: db-root-pass
    name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
    type: password
    # If we're using shared mariadb, we need to use the secret name (second
    # part).
    # If not, we do the same trick than for user db secret hat allows you
    # override this secret using external one with the same field that is used
    # to pass this to subchart.
    externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
      ternary ((hasSuffix "so-db-root-pass" (index .Values "mariadb-galera" "rootUser" "externalSecret")) |
                  ternary
                    ""
                    (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .))
              (include "common.mariadb.secret.rootPassSecretName"
                (dict "dot" .
                      "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
    password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
  - uid: db-backup-creds
    name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
    type: basicAuth
    externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
    login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
    password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
    passwordPolicy: required
    annotations:
      helm.sh/hook: pre-upgrade,pre-install
      helm.sh/hook-weight: '0'
      helm.sh/hook-delete-policy: before-hook-creation
  - uid: db-user-creds
    name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
    type: basicAuth
    externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
    login: '{{ .Values.dbCreds.userName }}'
    password: '{{ .Values.dbCreds.userPassword }}'
    passwordPolicy: generate
  - uid: db-admin-creds
    name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
    type: basicAuth
    externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
    login: '{{ .Values.dbCreds.adminName }}'
    password: '{{ .Values.dbCreds.adminPassword }}'
    passwordPolicy: generate
  - uid: 'mso-key'
    name: &mso-key '{{ include "common.release" . }}-mso-key'
    type: password
    password: '{{ .Values.mso.msoKey }}'
  - uid: mso-oof-auth
    name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
    type: basicAuth
    login: '{{ .Values.mso.oof.login }}'
    password: '{{ .Values.mso.oof.password }}'
    passwordPolicy: required
  - uid: server-actuator-creds
    name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
    type: basicAuth
    externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
    login: '{{ .Values.server.actuator.username }}'
    password: '{{ .Values.server.actuator.password }}'
    passwordPolicy: required
  - uid: server-bpel-creds
    name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
    type: basicAuth
    externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
    login: '{{ .Values.server.bpel.username }}'
    password: '{{ .Values.server.bpel.password }}'
    passwordPolicy: required
  - uid: so-aai-creds
    name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
    type: basicAuth
    externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
    login: '{{ .Values.server.aai.username }}'
    password: '{{ .Values.server.aai.password }}'
    passwordPolicy: required

##################################################################
# Application configuration defaults.
#################################################################

dbSecrets: &dbSecrets
  userCredsExternalSecret: *dbUserCredsSecretName
  adminCredsExternalSecret: *dbAdminCredsSecretName

# unused in this, just to pass to subcharts
dbCreds:
  userName: so_user
  adminName: so_admin

image: onap/so/api-handler-infra:1.12.2

server:
  aai:
    username: aai@aai.onap.org
    password: demo123456!
  # aaiCredsExternalSecret: some secret
  actuator:
    username: mso_admin
    password: password1$
  # actuatorCredsExternalSecret: some secret
  bpel:
    username: bpel
    password: password1$
  # bpelCredsExternalSecret: some secret

pullPolicy: Always
replicaCount: 1
minReadySeconds: 10
containerPort: &containerPort 8080
logPath: ./logs/apih/
app: api-handler-infra
service:
  type: NodePort
  internalPort: *containerPort
  ports:
    - name: http
      port: *containerPort
      nodePort: '77'
  annotations:
    msb.onap.org/service-info: |
      {{ if .Values.global.msbEnabled -}}[
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/activate",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/deactivate",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}/{requestId}/unlock",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}/unlock",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/activate",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/deactivate",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][7]}/serviceInstances/assign",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/unassign",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/addRelationships",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/removeRelationships",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        },
        {
          "serviceName": "so",
          "version": "v1",
          "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
          "protocol": "REST",
          "port": "{{ .Values.service.internalPort }}",
          "visualRange":"0",
          "lb_policy":"ip_hash"
        }
      ]{{ end }}

updateStrategy:
  type: RollingUpdate
  maxUnavailable: 1
  maxSurge: 1

################################################################
# soHelpers part
#################################################################
soHelpers:
  containerPort: *containerPort

# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
resources:
  small:
    limits:
      cpu: 1
      memory: 4Gi
    requests:
      cpu: 0.5
      memory: 1Gi
  large:
    limits:
      cpu: 2
      memory: 8Gi
    requests:
      cpu: 1
      memory: 2Gi
  unlimited: {}

nodeSelector: {}
affinity: {}

# application configuration
config:
  logstashServiceName: log-ls
  logstashPort: 5044
  # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
  openStackKeystoneVersion: "KEYSTONE"

#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
#                                                       --set so.global.mariadbGalera.localCluster=true \
#                                                       --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
#                                                       --set so.global.mariadbGalera.serviceName=so-mariadb-galera
mariadb-galera: &mariadbGalera
  rootUser:
    externalSecret: *dbRootPassSecretName
  nameOverride: &so-mariadb so-mariadb-galera
  replicaCount: 1
  service:
    name: *so-mariadb
    portName: *so-mariadb
    internalPort: 3306
  mariadbOperator:
    galera:
      enabled: false
  persistence:
    mountSubPath: so/mariadb-galera/data
    enabled: true
  serviceAccount:
    nameOverride: *so-mariadb

ingress:
  enabled: false
  service:
    - baseaddr: 'so-api'
      name: 'so'
      port: 8080

serviceMesh:
  authorizationPolicy:
    authorizedPrincipals:
      - serviceAccount: consul-read
      - serviceAccount: consul-server-read
      - serviceAccount: nbi-read
      - serviceAccount: policy-drools-pdp-read
      - serviceAccount: so-bpmn-infra-read
      - serviceAccount: robot-read
      - serviceAccount: istio-ingress
        namespace: istio-ingress

mso:
  adapters:
    requestDb:
      auth: Basic YnBlbDpwYXNzd29yZDEk
  camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
  msoKey: 07a7159d3bf51a0e53be7a8f89699be7
  sdc:
    client:
      auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
  aai:
    auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
  oof:
    login: test
    password: testpwd
  so:
    operationalEnv:
      dmaap:
        auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
  health:
    auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=

so-bpmn-infra:
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets
  logConfigMapNamePrefix: '{{ include "common.release" . }}-so'

so-catalog-db-adapter:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets

so-cnf-adapter:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets
  server:
    aaiCredsExternalSecret: *aai-secrets
    actuatorCredsExternalSecret: *actuator-secrets
  mso:
    msoKeySecret: *mso-key

so-cnfm-lcm:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets

so-etsi-nfvo-ns-lcm:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets

so-mariadb:
  mariadb-galera:
    <<: *mariadbGalera
  db:
    rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
    #rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
    rootPasswordExternalSecret: '{{ ternary (tpl .Values.db.rootPasswordExternalSecretLocalDb .) (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
    backupCredsExternalSecret: *dbBackupCredsSecretName
    userCredsExternalSecret: *dbUserCredsSecretName
    adminCredsExternalSecret: *dbAdminCredsSecretName

so-admin-cockpit:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets

so-nssmf-adapter:
  enabled: true
  server:
    actuatorCredsExternalSecret: *actuator-secrets
    bpelCredsExternalSecret: *bpel-secrets
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets

so-oof-adapter:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets
  mso:
    msoKeySecret: *mso-key
    camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
    oof:
      authSecret: *mso-oof-auth
  logConfigMapNamePrefix: '{{ include "common.release" . }}-so'

so-openstack-adapter:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets
  logConfigMapNamePrefix: '{{ include "common.release" . }}-so'

so-request-db-adapter:
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets

so-sdc-controller:
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets
  logConfigMapNamePrefix: '{{ include "common.release" . }}-so'

so-sdnc-adapter:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets
  mso:
    msoKeySecret: *mso-key
  logConfigMapNamePrefix: '{{ include "common.release" . }}-so'

so-ve-vnfm-adapter:
  enabled: false

so-etsi-sol005-adapter:
  enabled: true
  mariadb-galera:
    <<: *mariadbGalera
  db:
    <<: *dbSecrets

so-etsi-sol003-adapter:
  enabled: true

#Pods Service Account
serviceAccount:
  nameOverride: so
  roles:
    - read

#Log configuration
log:
  path: /var/log/onap