fc4836bf075cb1950603fbb0178376ba526b4851
[oom.git] / kubernetes / portal / charts / portal-mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # Default values for mariadb.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
19   nodePortPrefix: 302
20   persistence: {}
21   readinessRepository: oomk8s
22
23
24 # application image
25 repository: nexus3.onap.org:10001
26 image: onap/portal-db:v2.2.0
27 pullPolicy: Always
28
29 readinessImage: readiness-check:2.0.0
30 mariadbInitImage: "mariadb-client-init:2.0.0"
31
32 # application configuration
33 config:
34   mariadbUser: root
35   mariadbRootPassword: Aa123456
36   #The directory where sql files are found in the projects gerrit repo.
37   sqlSourceDirectory: portal/deliveries
38   # sdc frontend assignment for port 8181
39   sdcFePort: "30206"
40   # application's front end hostname.  Must be resolvable on the client side environment
41   sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
42   # policy pap ui assignment for port 8443
43   papPort: "30219"
44   # application's front end hostname.  Must be resolvable on the client side environment
45   papHostName: "policy.api.simpledemo.onap.org"
46   # vid ui  assignment for port 8080
47   vidPort: "30200"
48   # application's front end hostname.  Must be resolvable on the client side environment
49   vidHostName: "vid.api.simpledemo.onap.org"
50   # aai sparky ui assignment for port 8080
51   aaiSparkyPort: "" # TODO: populate with
52   # application's front end hostname.  Must be resolvable on the client side environment
53   aaiSparkyHostName: "aai.api.sparky.simpledemo.onap.org"
54   # cli ui  assignment for port 8080
55   cliPort: "30260"
56   # application's front end hostname.  Must be resolvable on the client side environment
57   cliHostName: "cli.api.simpledemo.onap.org"
58   # portal sdk (demo app) ui assignment for port 8990
59   portalSdkPort: "" # TODO: populate with port
60   # application's front end hostname.  Must be resolvable on the client side environment
61   portalSdkHostName: "portal-sdk.simpledemo.onap.org"
62   # dmaap bus controller ui assignment for port ?
63   dmaapBcPort: "" # TODO: populate with
64   # application's front end hostname.  Must be resolvable on the client side environment
65   dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
66   # msb discovery ui assignment for port ?
67   msbDiscoveryPort: "30281"
68   # application's front end hostname.  Must be resolvable on the client side environment
69   msbDiscoveryHostName: "msb.api.discovery.simpledemo.onap.org"
70
71 # default number of instances
72 replicaCount: 1
73
74 nodeSelector: {}
75
76 affinity: {}
77
78 # probe configuration parameters
79 liveness:
80   initialDelaySeconds: 450
81   periodSeconds: 10
82   # necessary to disable liveness probe when setting breakpoints
83   # in debugger so K8s doesn't restart unresponsive container
84   enabled: true
85
86 readiness:
87   initialDelaySeconds: 450
88   periodSeconds: 10
89
90 ## Persist data to a persitent volume
91 persistence:
92   enabled: true
93
94   ## A manually managed Persistent Volume and Claim
95   ## Requires persistence.enabled: true
96   ## If defined, PVC must be created manually before volume will be bound
97   # existingClaim:
98   volumeReclaimPolicy: Retain
99
100   ## database data Persistent Volume Storage Class
101   ## If defined, storageClassName: <storageClass>
102   ## If set to "-", storageClassName: "", which disables dynamic provisioning
103   ## If undefined (the default) or set to null, no storageClassName spec is
104   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
105   ##   GKE, AWS & OpenStack)
106   ##
107   # storageClass: "-"
108   accessMode: ReadWriteMany
109   size: 2Gi
110   mountPath: /dockerdata-nfs
111   mountSubPath: portal/mariadb/data
112
113 service:
114   type: ClusterIP
115   name: portal-db
116   portName: portal-db
117   externalPort: 3306
118   internalPort: 3306
119
120 ingress:
121   enabled: false
122
123 resources: {}
124   # We usually recommend not to specify default resources and to leave this as a conscious
125   # choice for the user. This also increases chances charts run on environments with little
126   # resources, such as Minikube. If you do want to specify resources, uncomment the following
127   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
128   #
129   # Example:
130   # Configure resource requests and limits
131   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
132   # Minimum memory for development is 2 CPU cores and 4GB memory
133   # Minimum memory for production is 4 CPU cores and 8GB memory
134 #resources:
135 #  limits:
136 #    cpu: 2
137 #    memory: 4Gi
138 #  requests:
139 #    cpu: 2
140 #    memory: 4Gi