feat: deploy config btpxpress-client pour cluster k1
This commit is contained in:
18
Chart.yaml
Normal file
18
Chart.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: btpxpress-client
|
||||||
|
description: Deploy config pour btpxpress-client sur cluster k1
|
||||||
|
type: application
|
||||||
|
version: 1.0.0
|
||||||
|
appVersion: "1.0.0-20251108-152910"
|
||||||
|
kubeVersion: ">=1.28.0-0"
|
||||||
|
maintainers:
|
||||||
|
- name: Lions Infrastructure Team
|
||||||
|
email: infrastructure@lions.dev
|
||||||
|
home: https://git.lions.dev/lionsdev/btpxpress-client-k1
|
||||||
|
sources:
|
||||||
|
- https://git.lions.dev/lionsdev/btpxpress-client
|
||||||
|
- https://git.lions.dev/lionsdev/btpxpress-client-k1
|
||||||
|
dependencies:
|
||||||
|
- name: lions-app
|
||||||
|
version: "1.0.1"
|
||||||
|
repository: "https://git.lions.dev/api/packages/lionsdev/helm"
|
||||||
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# btpxpress-client-k1
|
||||||
|
|
||||||
|
Deploy config pour **btpxpress-client** sur cluster k1.
|
||||||
|
|
||||||
|
- Host : https://btpxpress.lions.dev/
|
||||||
|
- Chart parent : lions-app 1.0.1
|
||||||
|
- Image : registry.lions.dev/lionsdev/btpxpress-client:1.0.0-20251108-152910
|
||||||
|
|
||||||
|
## Deploy
|
||||||
|
|
||||||
|
```bash
|
||||||
|
helm repo add lions https://git.lions.dev/api/packages/lionsdev/helm --username lionsdev --password 'lions@2025'
|
||||||
|
helm dependency update .
|
||||||
|
helm upgrade --install btpxpress-client . --namespace applications --wait
|
||||||
|
```
|
||||||
|
|
||||||
|
## Pipeline lionsctl (attendu)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
lionsctl pipeline -u https://git.lions.dev/lionsdev/btpxpress-client -b main -j 21 -e production -c k1 -p prod -m admin@lions.dev
|
||||||
|
```
|
||||||
110
values.yaml
Normal file
110
values.yaml
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
# Deploy values pour btpxpress-client sur cluster k1 (prod)
|
||||||
|
# Override du chart lions-app 1.0.1
|
||||||
|
|
||||||
|
lions-app:
|
||||||
|
|
||||||
|
image:
|
||||||
|
registry: registry.lions.dev
|
||||||
|
repository: lionsdev
|
||||||
|
name: btpxpress-client
|
||||||
|
tag: "1.0.0-20251108-152910" # AUTO-UPDATED by lionsctl pipeline
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
pullSecrets:
|
||||||
|
- lionsregistry-secret
|
||||||
|
|
||||||
|
replicaCount: 2
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 512Mi
|
||||||
|
limits:
|
||||||
|
cpu: "1"
|
||||||
|
memory: 1Gi
|
||||||
|
|
||||||
|
# Env non-sensibles
|
||||||
|
configMap:
|
||||||
|
enabled: true
|
||||||
|
envFrom: true
|
||||||
|
data:
|
||||||
|
QUARKUS_PROFILE: prod
|
||||||
|
APP_ENV: production
|
||||||
|
JAVA_OPTS: "-Xms256m -Xmx512m"
|
||||||
|
QUARKUS_HTTP_PORT: "8080"
|
||||||
|
APP_BASE_URL: https://btpxpress.lions.dev
|
||||||
|
|
||||||
|
# Secrets depuis K8s Secrets existants (migration Vault à venir)
|
||||||
|
extraEnvFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: lions-shared-db-secret
|
||||||
|
|
||||||
|
externalSecret:
|
||||||
|
enabled: false # TODO: migrate to Vault ExternalSecret
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: nginx
|
||||||
|
clusterIssuer: letsencrypt-prod
|
||||||
|
host: btpxpress.lions.dev
|
||||||
|
pathPrefix:
|
||||||
|
enabled: false
|
||||||
|
tls:
|
||||||
|
enabled: true
|
||||||
|
rateLimit:
|
||||||
|
enabled: true
|
||||||
|
rpm: 3000
|
||||||
|
connections: 200
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: "16k"
|
||||||
|
|
||||||
|
networkPolicy:
|
||||||
|
enabled: false # TODO: re-enable après validation egress rules
|
||||||
|
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /health/live
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
readiness:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /health/ready
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
tmp:
|
||||||
|
enabled: true
|
||||||
|
sizeLimit: 200Mi
|
||||||
|
logs:
|
||||||
|
enabled: true
|
||||||
|
sizeLimit: 500Mi
|
||||||
|
mountPath: /app/logs
|
||||||
|
extra:
|
||||||
|
- name: app-storage
|
||||||
|
emptyDir:
|
||||||
|
sizeLimit: 2Gi
|
||||||
|
|
||||||
|
volumeMounts:
|
||||||
|
- name: app-storage
|
||||||
|
mountPath: /app/storage
|
||||||
|
|
||||||
|
tolerations:
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
operator: Exists
|
||||||
|
effect: NoSchedule
|
||||||
|
|
||||||
|
podAnnotations:
|
||||||
|
lionsctl.lions.dev/cluster: k1
|
||||||
|
lionsctl.lions.dev/environment: production
|
||||||
Reference in New Issue
Block a user