Files
svc-api-x/build/helm/values.yaml
T
2025-01-30 10:33:42 +03:00

89 lines
2.7 KiB
YAML

#
# Данный конфигурационный файл не является конечным исполнением
# Параметры подставлены исключительно для тестов и могут быть измененены в соответствии с Pipeline
#
stand: {{ stand }}
mainContainer:
###### Репозиторий
image:
repository: {{ registryUrl }}/{{ registryContainerName }}
tag: {{ version }}
containerPort: {{ appPort }}
###### Ресурсы
resources:
requests:
cpu: "500m"
memory: "1024Mi"
limits:
cpu: "1000m"
memory: "1024Mi"
###### Пробы контейнера
readinessProbe:
tcpSocket:
port: {{ appPort }}
livenessProbe:
httpGet:
path: /api/v1
port: {{ appPort }}
scheme: HTTP
# Для Vault есть условие
# Предварительно в Namespace должен быть создан SecretStore
#
# Читать: https://confluence.ad.nubes.ru/pages/viewpage.action?pageId=58626585
# (Вариант 2. Используя external-operator)
vault:
secretStore: "{{ namespace }}"
enabled: true
serviceAccountName: "{{ namespace }}-sa"
target:
name: "{{ appName }}-envs"
data:
- secretKey: LUCEE_EXTENSIONS
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: LUCEE_EXTENSIONS
- secretKey: ORCHESTRATOR_AUTH
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: ORCHESTRATOR_AUTH
- secretKey: cfconfig_datasources_cmdb_database
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: cfconfig_datasources_cmdb_database
- secretKey: cfconfig_datasources_cmdb_dbdriver
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: cfconfig_datasources_cmdb_dbdriver
- secretKey: cfconfig_datasources_cmdb_host
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: cfconfig_datasources_cmdb_host
- secretKey: cfconfig_datasources_cmdb_name
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: cfconfig_datasources_cmdb_name
- secretKey: cfconfig_datasources_cmdb_password
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: cfconfig_datasources_cmdb_password
- secretKey: cfconfig_datasources_cmdb_port
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: cfconfig_datasources_cmdb_port
- secretKey: cfconfig_datasources_cmdb_username
remoteRef:
key: "deck/kubernetes/{{ stand}}/{{ appName }}"
property: cfconfig_datasources_cmdb_username