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

image:
  imageName: onap/portal-ng/history
  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

imagePullSecrets:
  - name: onap-docker-registry-key
nameOverride: ""
fullnameOverride: ""

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

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

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: history

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

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

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