- Change start_at from end to beginning
- This should allow OpenTelemetry Collector to read existing log content
- May cause duplicate logs but should make logs visible in Grafana
- Remove move operator from json_parser configuration
- Keep only json_parser with parse_to: attributes
- This should allow logs to be processed correctly
- Add parse_to: attributes to json_parser operator
- Add move operator to move text content to body
- Use application instead of service_name for consistency
- Use global.environment for environment setting
- Add global.environment to values files for both alpha and prod
- This should fix the unknown_service classification issue
- Remove complex where clause that may cause syntax errors
- Set environment to alpha by default for all logs
- This should fix the transform processor execution issue
- Add service.name resource attribute in addition to service_name
- This should prevent logs from being classified as unknown_service in Loki
- Keep both attributes for compatibility
- Remove complex JSON parsing operations that may cause issues
- Keep only essential resource attribute mapping
- This should help logs be properly processed and sent to Loki
- Changed the JWT and MongoDB URI secret key references to include the 'alpha' prefix for better environment differentiation.
- This update aligns with the recent changes in secret management for the authentication module.
Signed-off-by: zhenyus <zhenyus@mathmast.com>
- Changed the key reference from 'key' to 'secretKey' in freeleapssecret.yaml to improve clarity and consistency in secret management.
- This adjustment aligns with the recent updates to the secret management structure within the authentication module.
Signed-off-by: zhenyus <zhenyus@mathmast.com>
- Introduced a variable for the target secret name to improve readability and maintainability of the secret injection logic.
- This change enhances the clarity of the deployment configuration for the authentication module.
Signed-off-by: zhenyus <zhenyus@mathmast.com>
- Changed references from .Values.secrets to .Values.authentication.secrets in deployment.yaml and freeleapssecret.yaml to align with the new secret management structure.
- This update enhances the clarity and organization of secret management within the authentication module.
Signed-off-by: zhenyus <zhenyus@mathmast.com>
- Added a secrets section in values.alpha.yaml to reference JWT secret key and MongoDB URI from a FreeleapsSecretStore.
- Updated deployment.yaml to inject these secrets as environment variables, enhancing security and configuration management.
Signed-off-by: zhenyus <zhenyus@mathmast.com>