Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[MARIADB][SO] Connect MariaDB Galera via master node
[oom.git]
/
kubernetes
/
so
/
components
/
so-nssmf-adapter
/
values.yaml
diff --git
a/kubernetes/so/components/so-nssmf-adapter/values.yaml
b/kubernetes/so/components/so-nssmf-adapter/values.yaml
index
09f61a5
..
77fe172
100755
(executable)
--- a/
kubernetes/so/components/so-nssmf-adapter/values.yaml
+++ b/
kubernetes/so/components/so-nssmf-adapter/values.yaml
@@
-19,14
+19,10
@@
global:
nodePortPrefixExt: 304
persistence:
mountPath: /dockerdata-nfs
nodePortPrefixExt: 304
persistence:
mountPath: /dockerdata-nfs
- security:
- aaf:
- enabled: false
- aaf:
- auth:
- header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
mariadbGalera:
mariadbGalera:
- serviceName: mariadb-galera
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
+ service: mariadb-galera
servicePort: '3306'
readinessCheck:
servicePort: '3306'
readinessCheck:
@@
-75,9
+71,18
@@
secrets:
#################################################################
# Application configuration defaults.
#################################################################
#################################################################
# Application configuration defaults.
#################################################################
-image: onap/so/so-nssmf-adapter:1.
8.3
+image: onap/so/so-nssmf-adapter:1.
9.1
pullPolicy: Always
pullPolicy: Always
+# Local mariadb galera instance default name
+mariadb-galera:
+ nameOverride: so-mariadb-galera
+ service:
+ internalPort: 3306
+ mariadbOperator:
+ galera:
+ enabled: false
+
db:
userName: so_user
userPassword: so_User123
db:
userName: so_user
userPassword: so_User123
@@
-107,20
+112,17
@@
app: nssmf-adapter
service:
type: ClusterIP
ports:
service:
type: ClusterIP
ports:
- - name:
api
+ - name:
http
port: *containerPort
updateStrategy:
port: *containerPort
updateStrategy:
-
type: RollingUpdate
-
maxUnavailable: 1
-
maxSurge: 1
+ type: RollingUpdate
+ maxUnavailable: 1
+ maxSurge: 1
+#################################################################
+# soHelpers part
+#################################################################
soHelpers:
soHelpers:
- nameOverride: so-nssmf-cert-init
- certInitializer:
- nameOverride: so-nssmf-cert-init
- credsPath: /opt/app/osaaf/local
- cadi:
- apiEnforcement: org.onap.so.nssmfAdapterPerm
containerPort: *containerPort
# Resource Limit flavor -By Default using small
containerPort: *containerPort
# Resource Limit flavor -By Default using small
@@
-129,30
+131,36
@@
flavor: small
resources:
small:
limits:
resources:
small:
limits:
- memory:
4
Gi
- cpu:
2000m
+ memory:
1
Gi
+ cpu:
1
requests:
memory: 1Gi
requests:
memory: 1Gi
- cpu:
500m
+ cpu:
0.5
large:
limits:
large:
limits:
- memory:
8
Gi
- cpu:
4000m
+ memory:
2
Gi
+ cpu:
2
requests:
memory: 2Gi
requests:
memory: 2Gi
- cpu: 1
000m
+ cpu: 1
unlimited: {}
livenessProbe:
unlimited: {}
livenessProbe:
-
path: /manage/health
-
port: 8088
-
scheme: HTTP
-
initialDelaySeconds: 600
-
periodSeconds: 60
-
timeoutSeconds: 10
-
successThreshold: 1
-
failureThreshold: 3
+ path: /manage/health
+ port: 8088
+ scheme: HTTP
+ initialDelaySeconds: 600
+ periodSeconds: 60
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 3
ingress:
enabled: false
ingress:
enabled: false
+serviceMesh:
+ authorizationPolicy:
+ authorizedPrincipals:
+ - serviceAccount: robot-read
+ - serviceAccount: so-bpmn-infra-read
+ - serviceAccount: so-read
nodeSelector: {}
tolerations: []
affinity: {}
nodeSelector: {}
tolerations: []
affinity: {}