--- loki: auth_enabled: false persistence: size: 10Gi schemaConfig: configs: - from: 2024-04-14 store: tsdb object_store: s3 schema: v13 index: prefix: index_ period: 24h compactor: compaction_interval: 15m retention_enabled: false retention_delete_delay: 1h retention_delete_worker_count: 150 delete_request_store: s3 storage: bucketNames: chunks: yolokube-logs s3: endpoint: https://fsn1.your-objectstorage.com s3: s3://yolokube-logs s3forcepathstyle: true accessKeyId: ${S3_LOKI_ACCESS_KEY_ID} secretAccessKey: ${S3_LOKI_SECRET_ACCESS_KEY} monitoring: dashboards: enabled: true serviceMonitor: enabled: true read: extraArgs: - '-config.expand-env=true' extraEnv: - name: S3_LOKI_ACCESS_KEY_ID valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_ACCESS_KEY_ID - name: S3_LOKI_SECRET_ACCESS_KEY valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_SECRET_ACCESS_KEY write: extraArgs: - '-config.expand-env=true' extraEnv: - name: S3_LOKI_ACCESS_KEY_ID valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_ACCESS_KEY_ID - name: S3_LOKI_SECRET_ACCESS_KEY valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_SECRET_ACCESS_KEY persistence: storageClass: longhorn-local backend: extraArgs: - '-config.expand-env=true' extraEnv: - name: S3_LOKI_ACCESS_KEY_ID valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_ACCESS_KEY_ID - name: S3_LOKI_SECRET_ACCESS_KEY valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_SECRET_ACCESS_KEY persistence: storageClass: longhorn-local compactor: extraArgs: - '-config.expand-env=true' extraEnv: - name: S3_LOKI_ACCESS_KEY_ID valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_ACCESS_KEY_ID - name: S3_LOKI_SECRET_ACCESS_KEY valueFrom: secretKeyRef: name: loki-bucket-secret key: S3_LOKI_SECRET_ACCESS_KEY persistence: storageClass: longhorn-local gateway: service: labels: prometheus.io/service-monitor: "false"