aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/portal-ng/components/portal-ng-preferences/values.yaml
blob: 2f6d1bae78419d158a5d13c8f2b9a0aea58904db (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
global: {}

# Default values for preferences.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
  imageName: onap/portal-ng/preferences
  pullPolicy: Always
  # Overrides the image tag whose default value is the chart appVersion.
  # tag: 0.1.0

replicaCount: 1

# Specifies how many old replicas will be retained in a deployment
revisionHistoryLimit: 2

nameOverride: ""
fullnameOverride: ""

# Custom selector label (for bigger namespaces with other components)
partOf: portal

service:
  type: ClusterIP
  port: 9001
  ports:
    - name: http
      port: 9001

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 5
  targetCPUUtilizationPercentage: 80

probes:
  readiness:
    initialDelaySeconds: 20
    failureThreshold: 4
  liveness:
    initialDelaySeconds: 20
    failureThreshold: 4

secretEnv:
  MONGO_USERNAME: dbuser
  MONGO_PASSWORD: dbpassword
  MONGO_DATABASE: Preferences

env:
  KEYCLOAK_URL: http://keycloakx-http.keycloak
  KEYCLOAK_REALM: ONAP
  MONGO_HOST: preferences-mongodb
  MONGO_PORT: 27017
  TRACING_ENABLED: true
  COLLECTOR_HOST: jaeger-collector.istio-system
  COLLECTOR_PORT: 9411

mongodb:
  nameOverride: preferences-mongodb
  service:
    portName: tcp-mongodb
  auth:
    rootPassword: TrWAweN9y9eW
    usernames:
    - dbuser
    passwords:
    - dbpassword
    databases:
    - Preferences
  resources:
    limits:
      cpu: "2"
      memory: "2Gi"
    requests:
      cpu: "250m"
      memory: "500Mi"

#Pods Service Account
serviceAccount:
  nameOverride: portal-ng-preferences
  roles:
    - read