Fiete Ostkamp | c39d489 | 2024-03-28 08:28:33 +0100 | [diff] [blame] | 1 | global: {} |
| 2 | |
| 3 | # Default values for preferences. |
| 4 | # This is a YAML-formatted file. |
| 5 | # Declare variables to be passed into your templates. |
| 6 | image: |
| 7 | imageName: onap/portal-ng/preferences |
| 8 | pullPolicy: Always |
| 9 | # Overrides the image tag whose default value is the chart appVersion. |
| 10 | # tag: 0.1.0 |
| 11 | |
| 12 | replicaCount: 1 |
| 13 | |
| 14 | # Specifies how many old replicas will be retained in a deployment |
| 15 | revisionHistoryLimit: 2 |
| 16 | |
| 17 | nameOverride: "" |
| 18 | fullnameOverride: "" |
| 19 | |
| 20 | # Custom selector label (for bigger namespaces with other components) |
| 21 | partOf: portal |
| 22 | |
| 23 | service: |
| 24 | type: ClusterIP |
| 25 | port: 9001 |
| 26 | ports: |
| 27 | - name: http |
| 28 | port: 9001 |
| 29 | |
| 30 | autoscaling: |
| 31 | enabled: false |
| 32 | minReplicas: 1 |
| 33 | maxReplicas: 5 |
| 34 | targetCPUUtilizationPercentage: 80 |
| 35 | |
| 36 | probes: |
| 37 | readiness: |
| 38 | initialDelaySeconds: 20 |
| 39 | failureThreshold: 4 |
| 40 | liveness: |
| 41 | initialDelaySeconds: 20 |
| 42 | failureThreshold: 4 |
| 43 | |
| 44 | secretEnv: |
| 45 | MONGO_USERNAME: dbuser |
| 46 | MONGO_PASSWORD: dbpassword |
| 47 | MONGO_DATABASE: Preferences |
| 48 | |
| 49 | env: |
| 50 | KEYCLOAK_URL: http://keycloak-http.keycloak |
| 51 | KEYCLOAK_REALM: ONAP |
| 52 | MONGO_HOST: preferences-mongodb |
| 53 | MONGO_PORT: 27017 |
| 54 | TRACING_ENABLED: true |
| 55 | COLLECTOR_HOST: jaeger-collector.istio-system |
| 56 | COLLECTOR_PORT: 9411 |
| 57 | |
| 58 | mongodb: |
| 59 | nameOverride: preferences-mongodb |
| 60 | service: |
| 61 | portName: tcp-mongodb |
| 62 | auth: |
| 63 | rootPassword: TrWAweN9y9eW |
| 64 | usernames: |
| 65 | - dbuser |
| 66 | passwords: |
| 67 | - dbpassword |
| 68 | databases: |
| 69 | - Preferences |
| 70 | resources: |
| 71 | limits: |
| 72 | cpu: "2" |
| 73 | memory: "2Gi" |
| 74 | requests: |
| 75 | cpu: "250m" |
| 76 | memory: "500Mi" |
| 77 | |
| 78 | #Pods Service Account |
| 79 | serviceAccount: |
| 80 | nameOverride: portal-ng-preferences |
| 81 | roles: |
| 82 | - read |