Files
policy-service/ops/chart/values.yaml
HaimKortovich 5037bc3632
Some checks are pending
Build and Publish / build-release (push) Waiting to run
wip
2026-04-13 15:30:31 -05:00

99 lines
2.1 KiB
YAML

controllers:
main:
enabled: true
type: deployment
replicas: 1
initContainers:
migrate:
image:
repository: gitea.corredorconect.com/software-engineering/policy-service
tag: latest
pullPolicy: IfNotPresent
command:
- sh
- -c
- >
mix ecto.create &&
mix ecto.migrate &&
mix event_store.create &&
mix event_store.init
env:
MIX_ENV: prod
containers:
main:
image:
repository: gitea.corredorconect.com/software-engineering/policy-service
tag: latest
pullPolicy: IfNotPresent
env:
MIX_ENV: prod
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /health/ready
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
service:
main:
enabled: true
controller: main
primary: true
type: ClusterIP
ports:
http:
enabled: true
primary: true
port: 8080
protocol: HTTP
ingress:
main:
enabled: false
className: nginx
hosts:
- host: policy-service.local
paths:
- path: /
pathType: Prefix
service:
identifier: main
port: http
postgresql:
enabled: true
image: ghcr.io/cloudnative-pg/container-image:1.23.1
instances: 1
database: policy_service
owner: policy_service
storageClass: local-path
storageSize: 1Gi
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi