Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Bot Auto Deploy
4aed5f2a2f Bot Auto Commit 2026-09-10 08:40:56 +00:00
5 changed files with 27 additions and 27 deletions

View file

@ -6,7 +6,7 @@ metadata:
namespace: review namespace: review
spec: spec:
dnsNames: dnsNames:
- '*.${REVIEW_DOMAIN_NAME}' - '*.review.re7-s-web.fr'
secretName: wildcard-k8s-ldc secretName: wildcard-k8s-ldc
revisionHistoryLimit: 1 revisionHistoryLimit: 1
issuerRef: issuerRef:
@ -21,7 +21,7 @@ metadata:
namespace: staging namespace: staging
spec: spec:
dnsNames: dnsNames:
- '*.${STAGING_DOMAIN_NAME}' - '*.re7-s-web.fr'
secretName: wildcard-k8s-ldc secretName: wildcard-k8s-ldc
revisionHistoryLimit: 1 revisionHistoryLimit: 1
issuerRef: issuerRef:
@ -36,7 +36,7 @@ metadata:
namespace: production namespace: production
spec: spec:
dnsNames: dnsNames:
- '*.${PRODUCTION_DOMAIN_NAME}' - '*.k8s.s-web.fr'
secretName: wildcard-k8s-ldc secretName: wildcard-k8s-ldc
revisionHistoryLimit: 1 revisionHistoryLimit: 1
issuerRef: issuerRef:

View file

@ -56,7 +56,7 @@ spec:
server: server:
auto_registration: # Activate if not using TLS for authentication auto_registration: # Activate if not using TLS for authentication
enabled: true 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 allowed_ranges: # /!\ Make sure to adapt to the pod IP ranges used by your cluster
- "127.0.0.1/32" - "127.0.0.1/32"
- "192.168.0.0/16" - "192.168.0.0/16"
@ -64,11 +64,11 @@ spec:
- "172.16.0.0/12" - "172.16.0.0/12"
db_config: db_config:
type: mysql type: mysql
user: ${CROWDSEC_DB_USER} user: crowdsec
password: ${CROWDSEC_DB_PWD} password: +ctk2).oRv]oW2}E$~HxM
db_name: ${CROWDSEC_DB_NAME} db_name: crowdsec
host: ${DB_HOST} host: mysql-e884938b-o403ac517.database.cloud.ovh.net
port: ${DB_PORT} port: 20184
flush: flush:
bouncers_autodelete: bouncers_autodelete:
api_key: 1h api_key: 1h

View file

@ -19,9 +19,9 @@ metadata:
spec: spec:
summary: "LDC-WEB K8S NOTIFICATION" summary: "LDC-WEB K8S NOTIFICATION"
eventMetadata: eventMetadata:
env: ${CI_ENVIRONMENT_NAME} env: production
cluster: ${KUBERNETES_SERVER_API} cluster: https://dbbc0v.c1.sbg5.k8s.ovh.net
region: ${KUBERNETES_REGION} region: OVH-SBG5
providerRef: providerRef:
name: msteams name: msteams
eventSeverity: info eventSeverity: info

View file

@ -47,11 +47,11 @@ spec:
resources: resources:
requests: requests:
cpu: "${NETDATA_PARENT_REQUESTS_CPU}" cpu: "200m"
memory: "${NETDATA_PARENT_REQUESTS_RAM}" memory: "512Mi"
limits: limits:
cpu: "${NETDATA_PARENT_LIMITS_CPU}" cpu: "2"
memory: "${NETDATA_PARENT_LIMITS_RAM}" memory: "2Gi"
# PV parent recommandés (db + alarms) # PV parent recommandés (db + alarms)
database: database:
@ -79,11 +79,11 @@ spec:
resources: resources:
requests: requests:
cpu: "${NETDATA_CHILD_REQUESTS_CPU}" cpu: "100m"
memory: "${NETDATA_CHILD_REQUESTS_RAM}" memory: "256Mi"
limits: limits:
cpu: "${NETDATA_CHILD_LIMITS_CPU}" cpu: "500m"
memory: "${NETDATA_CHILD_LIMITS_RAM}" memory: "512Mi"
persistence: persistence:
enabled: true enabled: true
@ -97,8 +97,8 @@ spec:
data: | data: |
[db] [db]
mode = ram mode = ram
retention = "${NETDATA_CHILD_RETENTION}" retention = "900"
update every = "${NETDATA_CHILD_COLLECT_INTERVAL}" update every = "5"
[web] [web]
bind to = localhost:19999 bind to = localhost:19999
[health] [health]

View file

@ -28,9 +28,9 @@ spec:
- "--entryPoints.web.http.redirections.entryPoint.to=websecure" - "--entryPoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entrypoint.scheme=https" - "--entrypoints.web.http.redirections.entrypoint.scheme=https"
- "--providers.kubernetescrd.allowCrossNamespace=true" - "--providers.kubernetescrd.allowCrossNamespace=true"
- "--entryPoints.web.proxyProtocol.trustedIPs=${OVH_LOAD_BALANCER_EGRESS_IP}/32" - "--entryPoints.web.proxyProtocol.trustedIPs=51.83.34.192/32"
- "--entryPoints.websecure.proxyProtocol.trustedIPs=${OVH_LOAD_BALANCER_EGRESS_IP}/32" - "--entryPoints.websecure.proxyProtocol.trustedIPs=51.83.34.192/32"
- "--entryPoints.websecure.forwardedHeaders.trustedIPs=${OVH_LOAD_BALANCER_EGRESS_IP}/32" - "--entryPoints.websecure.forwardedHeaders.trustedIPs=51.83.34.192/32"
additionalArguments: additionalArguments:
#- "--log.level=DEBUG" #- "--log.level=DEBUG"
@ -122,7 +122,7 @@ spec:
spec: spec:
plugin: plugin:
bouncer: bouncer:
forwardedHeadersTrustedIps: "${OVH_LOAD_BALANCER_EGRESS_IP}/32" forwardedHeadersTrustedIps: "51.83.34.192/32"
enabled: true enabled: true
crowdsecMode: stream crowdsecMode: stream
crowdsecLapiScheme: http crowdsecLapiScheme: http
@ -386,7 +386,7 @@ spec:
spec: spec:
type: LoadBalancer type: LoadBalancer
externalTrafficPolicy: Local externalTrafficPolicy: Local
loadBalancerIP: "${TRAEFIK_LOAD_BALANCER_IP_OCTAVIA}" loadBalancerIP: "51.91.209.204"
selector: selector:
app.kubernetes.io/name: traefik app.kubernetes.io/name: traefik
app.kubernetes.io/instance: traefik-common-services app.kubernetes.io/instance: traefik-common-services