values.yaml 1.5 KB
Newer Older
1
replicaCount: 3
Volodymyr Kovalenko's avatar
Volodymyr Kovalenko committed
2
3
4
5
6
document_service_url: https://procedure-dev.prozorro.sale
dictionaries_and_classifiers_api: dictionaries-and-classifiers-api
authApiBlockStrict: '1'
imagePullSecrets: []
prometheus: true
7
8
9
10
11
12

image:
  repository: registry-gitlab.prozorro.sale/prozorro-sale/registry-mirror
  tag: latest
  pullPolicy: Always

Volodymyr Kovalenko's avatar
Volodymyr Kovalenko committed
13
14
15
16
17
18
19
20
application:
  api:
    enabled: true
    command:
      - python
    args:
      - -m
      - registry_mirror.main
21

22
livenessProbe:
Pavel Kuzmenko's avatar
Pavel Kuzmenko committed
23
  path: /ping
24
25
26
27
  timeoutSeconds: 10
  periodSeconds: 15
  initialDelaySeconds: 1
readinessProbe:
Pavel Kuzmenko's avatar
Pavel Kuzmenko committed
28
  path: /ping
29
30
31
32
  timeoutSeconds: 5
  periodSeconds: 6
  initialDelaySeconds: 1
startupProbe:
Pavel Kuzmenko's avatar
Pavel Kuzmenko committed
33
  path: /ping
34
35
36
37
  enabled: true
  failureThreshold: 20
  periodSeconds: 5

38
39
40
41
42
43
44
45
resources:
  limits:
    cpu: 1000m
    memory: 1Gi
  requests:
    cpu: 500m
    memory: 512Mi

Volodymyr Kovalenko's avatar
Volodymyr Kovalenko committed
46
47
48
49
50
51
52
53
54
env:
  - name: MONGO_URL
    value: 'mongodb://{{ .Release.Name }}-registry-mongo/?replicaSet=rs0&maxIdleTimeMS=60000'
  - name: DOCUMENT_SERVICE_URL
    value: "{{.Values.document_service_url}}"
  - name: DICTIONARIES_URL
    value: "{{.Release.Name}}-{{.Values.dictionaries_and_classifiers_api}}"
  - name: AUTH_IP_BLOCK_STRICT
    value: "{{ .Values.authApiBlockStrict }}"
55

Volodymyr Kovalenko's avatar
Volodymyr Kovalenko committed
56
57
58
59
60
61
62
63
64
volumes:
  - name: registry-config
    configMap:
      name: "{{ .Release.Name }}-registry-config"
  - name: secrets-volume
    projected:
      sources:
        - secret:
            name: registry-auth-file
65

Volodymyr Kovalenko's avatar
Volodymyr Kovalenko committed
66
67
68
69
70
71
volumeMounts:
  - name: registry-config
    mountPath: /config/
  - name: secrets-volume
    mountPath: /secrets/
    readOnly: true