From 4aed5f2a2f8d47dfdd5d9ca11d911ad5429aed93 Mon Sep 17 00:00:00 2001 From: Bot Auto Deploy Date: Thu, 10 Sep 2026 08:40:56 +0000 Subject: [PATCH] Bot Auto Commit --- .../cert-manager/resources/certificates.yaml | 6 +++--- infrastructure/crowdsec/helm-release.yaml | 12 +++++------ infrastructure/flux-resources/alerts.yaml | 6 +++--- infrastructure/netdata/helm-release.yaml | 20 +++++++++---------- infrastructure/traefik/helm-release.yaml | 10 +++++----- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/infrastructure/cert-manager/resources/certificates.yaml b/infrastructure/cert-manager/resources/certificates.yaml index 03d736c..31d5d98 100644 --- a/infrastructure/cert-manager/resources/certificates.yaml +++ b/infrastructure/cert-manager/resources/certificates.yaml @@ -6,7 +6,7 @@ metadata: namespace: review spec: dnsNames: - - '*.${REVIEW_DOMAIN_NAME}' + - '*.review.re7-s-web.fr' secretName: wildcard-k8s-ldc revisionHistoryLimit: 1 issuerRef: @@ -21,7 +21,7 @@ metadata: namespace: staging spec: dnsNames: - - '*.${STAGING_DOMAIN_NAME}' + - '*.re7-s-web.fr' secretName: wildcard-k8s-ldc revisionHistoryLimit: 1 issuerRef: @@ -36,7 +36,7 @@ metadata: namespace: production spec: dnsNames: - - '*.${PRODUCTION_DOMAIN_NAME}' + - '*.k8s.s-web.fr' secretName: wildcard-k8s-ldc revisionHistoryLimit: 1 issuerRef: diff --git a/infrastructure/crowdsec/helm-release.yaml b/infrastructure/crowdsec/helm-release.yaml index 34e02e9..db5230e 100644 --- a/infrastructure/crowdsec/helm-release.yaml +++ b/infrastructure/crowdsec/helm-release.yaml @@ -56,7 +56,7 @@ spec: server: auto_registration: # Activate if not using TLS for authentication enabled: true - token: "${CROWDSEC_REGISTRATION_TOKEN}" # /!\ Do not modify this variable (Cluster K8S gitlab var) + token: "4inqydLBZ6ErkkVWLCcoVgfXRWj9FAsowvfDoP4mLDrqERje" # /!\ Do not modify this variable (Cluster K8S gitlab var) allowed_ranges: # /!\ Make sure to adapt to the pod IP ranges used by your cluster - "127.0.0.1/32" - "192.168.0.0/16" @@ -64,11 +64,11 @@ spec: - "172.16.0.0/12" db_config: type: mysql - user: ${CROWDSEC_DB_USER} - password: ${CROWDSEC_DB_PWD} - db_name: ${CROWDSEC_DB_NAME} - host: ${DB_HOST} - port: ${DB_PORT} + user: crowdsec + password: +ctk2).oRv]oW2}E$~HxM + db_name: crowdsec + host: mysql-e884938b-o403ac517.database.cloud.ovh.net + port: 20184 flush: bouncers_autodelete: api_key: 1h diff --git a/infrastructure/flux-resources/alerts.yaml b/infrastructure/flux-resources/alerts.yaml index c1ef9f1..c40cea6 100644 --- a/infrastructure/flux-resources/alerts.yaml +++ b/infrastructure/flux-resources/alerts.yaml @@ -19,9 +19,9 @@ metadata: spec: summary: "LDC-WEB K8S NOTIFICATION" eventMetadata: - env: ${CI_ENVIRONMENT_NAME} - cluster: ${KUBERNETES_SERVER_API} - region: ${KUBERNETES_REGION} + env: production + cluster: https://dbbc0v.c1.sbg5.k8s.ovh.net + region: OVH-SBG5 providerRef: name: msteams eventSeverity: info diff --git a/infrastructure/netdata/helm-release.yaml b/infrastructure/netdata/helm-release.yaml index e22ef9d..58de0e5 100644 --- a/infrastructure/netdata/helm-release.yaml +++ b/infrastructure/netdata/helm-release.yaml @@ -47,11 +47,11 @@ spec: resources: requests: - cpu: "${NETDATA_PARENT_REQUESTS_CPU}" - memory: "${NETDATA_PARENT_REQUESTS_RAM}" + cpu: "200m" + memory: "512Mi" limits: - cpu: "${NETDATA_PARENT_LIMITS_CPU}" - memory: "${NETDATA_PARENT_LIMITS_RAM}" + cpu: "2" + memory: "2Gi" # PV parent recommandés (db + alarms) database: @@ -79,11 +79,11 @@ spec: resources: requests: - cpu: "${NETDATA_CHILD_REQUESTS_CPU}" - memory: "${NETDATA_CHILD_REQUESTS_RAM}" + cpu: "100m" + memory: "256Mi" limits: - cpu: "${NETDATA_CHILD_LIMITS_CPU}" - memory: "${NETDATA_CHILD_LIMITS_RAM}" + cpu: "500m" + memory: "512Mi" persistence: enabled: true @@ -97,8 +97,8 @@ spec: data: | [db] mode = ram - retention = "${NETDATA_CHILD_RETENTION}" - update every = "${NETDATA_CHILD_COLLECT_INTERVAL}" + retention = "900" + update every = "5" [web] bind to = localhost:19999 [health] diff --git a/infrastructure/traefik/helm-release.yaml b/infrastructure/traefik/helm-release.yaml index 805a0f6..a44a19f 100644 --- a/infrastructure/traefik/helm-release.yaml +++ b/infrastructure/traefik/helm-release.yaml @@ -28,9 +28,9 @@ spec: - "--entryPoints.web.http.redirections.entryPoint.to=websecure" - "--entrypoints.web.http.redirections.entrypoint.scheme=https" - "--providers.kubernetescrd.allowCrossNamespace=true" - - "--entryPoints.web.proxyProtocol.trustedIPs=${OVH_LOAD_BALANCER_EGRESS_IP}/32" - - "--entryPoints.websecure.proxyProtocol.trustedIPs=${OVH_LOAD_BALANCER_EGRESS_IP}/32" - - "--entryPoints.websecure.forwardedHeaders.trustedIPs=${OVH_LOAD_BALANCER_EGRESS_IP}/32" + - "--entryPoints.web.proxyProtocol.trustedIPs=51.83.34.192/32" + - "--entryPoints.websecure.proxyProtocol.trustedIPs=51.83.34.192/32" + - "--entryPoints.websecure.forwardedHeaders.trustedIPs=51.83.34.192/32" additionalArguments: #- "--log.level=DEBUG" @@ -122,7 +122,7 @@ spec: spec: plugin: bouncer: - forwardedHeadersTrustedIps: "${OVH_LOAD_BALANCER_EGRESS_IP}/32" + forwardedHeadersTrustedIps: "51.83.34.192/32" enabled: true crowdsecMode: stream crowdsecLapiScheme: http @@ -386,7 +386,7 @@ spec: spec: type: LoadBalancer externalTrafficPolicy: Local - loadBalancerIP: "${TRAEFIK_LOAD_BALANCER_IP_OCTAVIA}" + loadBalancerIP: "51.91.209.204" selector: app.kubernetes.io/name: traefik app.kubernetes.io/instance: traefik-common-services