Skip to content
Snippets Groups Projects
Commit 986fa659 authored by Tancho Mihov's avatar Tancho Mihov
Browse files

init

parent e00a5c35
No related branches found
Tags 0.0.0
No related merge requests found
Pipeline #51664 passed with stages
in 9 seconds
......@@ -9,9 +9,7 @@ task deployment
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| addresses.cache | string | `"http://cache:8080"` | |
| addresses.didResolver | string | `"http://didresolver:8080"` | |
| addresses.policy | string | `"http://policy:8080"` | |
| addresses.task | string | `"http://task:8080"` | |
| autoscaling.enabled | bool | `false` | Enable autoscaling |
| autoscaling.maxReplicas | int | `3` | Maximum replicas |
| autoscaling.minReplicas | int | `1` | Minimum replicas |
......@@ -35,8 +33,7 @@ task deployment
| log.level | string | `"debug"` | |
| metrics.enabled | bool | `true` | Enable prometheus metrics |
| metrics.port | int | `2112` | Port for prometheus metrics |
| mongo.addr | string | `"mongodb://mongodb-mongodb-replicaset.infra:27017/policy?replicaSet=rs0&authSource=admin"` | |
| mongo.collection | string | `"policies"` | |
| mongo.addr | string | `"mongodb://mongodb-mongodb-replicaset.infra:27017/task?replicaSet=rs0&authSource=admin"` | |
| mongo.dbname | string | `"task"` | |
| mongo.pass | string | `""` | |
| mongo.user | string | `""` | |
......
......@@ -61,12 +61,7 @@ spec:
- name: CACHE_ADDR
value: {{ .Values.addresses.cache | quote }}
- name: POLICY_ADDR
value: {{ .Values.addresses.cache | quote }}
- name: TASK_ADDR
value: {{ .Values.addresses.task | quote }}
- name: DID_RESOLVER_ADDR
value: {{ .Values.addresses.didResolver | quote }}
value: {{ .Values.addresses.policy | quote }}
{{- if .Values.extraVars }}
{{ toYaml .Values.extraVars | indent 8 }}
{{- end }}
......
......@@ -96,17 +96,14 @@ task:
write: 10s
mongo:
addr: "mongodb://mongodb-mongodb-replicaset.infra:27017/policy?replicaSet=rs0&authSource=admin"
addr: "mongodb://mongodb-mongodb-replicaset.infra:27017/task?replicaSet=rs0&authSource=admin"
user: ""
pass: ""
dbname: task
collection: policies
addresses:
cache: http://cache:8080
policy: http://policy:8080
task: http://task:8080
didResolver: http://didresolver:8080
cache: http://cache:8080
ingress:
enabled: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment