66 lines
1.8 KiB
YAML
66 lines
1.8 KiB
YAML
##### Переменные Контейнера #####
|
|
#################################
|
|
application:
|
|
name: "svc-api"
|
|
port: 8080
|
|
cpu: 1000
|
|
mem: 1024
|
|
version: "awk -F'\"' '/APIVersion/ {print \\$2; exit}' v1/Application.cfc"
|
|
probes:
|
|
readinessProbe:
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
httpGet:
|
|
port: ${ application.port }
|
|
livenessProbe:
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 15
|
|
tcpSocket:
|
|
port: ${ application.port }
|
|
|
|
###### Переменные Секретов ######
|
|
#################################
|
|
vault:
|
|
enable: true
|
|
type: inject
|
|
inject:
|
|
secretStore: "deck-${ gitBranch }"
|
|
secrets:
|
|
- "LUCEE_EXTENSIONS"
|
|
- "ORCHESTRATOR_AUTH"
|
|
- "VAULT_ROLE_ID"
|
|
- "VAULT_SECRET_ID"
|
|
- "cfconfig_datasources_cmdb_database"
|
|
- "cfconfig_datasources_cmdb_dbdriver"
|
|
- "cfconfig_datasources_cmdb_host"
|
|
- "cfconfig_datasources_cmdb_name"
|
|
- "cfconfig_datasources_cmdb_port"
|
|
- "cfconfig_datasources_cmdb_username"
|
|
- "cfconfig_datasources_cmdb_password"
|
|
|
|
custom:
|
|
dev:
|
|
ingressAddr: deck-api-dev.ngcloud.ru
|
|
test:
|
|
ingressAddr: deck-api-test.ngcloud.ru
|
|
prod:
|
|
ingressAddr: deck-api.ngcloud.ru
|
|
|
|
ingress:
|
|
enable: true
|
|
hosts:
|
|
- domain: "${application.custom[gitBranch].ingressAddr}"
|
|
service: "sys-${ application.name }"
|
|
port: "${ application.port }"
|
|
path: /
|
|
|
|
###### Переменные Стенда ######
|
|
###############################
|
|
kubernetes:
|
|
namespace: "deck-${ gitBranch }"
|
|
stand:
|
|
dev: k8s-1.dmz.nubes.ru
|
|
test: k8s-1.dmz.nubes.ru
|
|
prod: k8s-1.dmz.nubes.ru |