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