Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor refactor, fix stuck syncs #128

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

darkdoc
Copy link
Contributor

@darkdoc darkdoc commented Jan 10, 2025

  • Lower the frequency of loading and generating image
  • Refactor xray-init
  • Refactor grafana

The image-generator downloads an image from validated-patterns-md-xray
(vp public bucket) by default. This does not need to happen every second,
for demo it is enough to generate an image once every 10 second.
@mbaldessari
Copy link
Contributor

/lgtm maybe let's fix those python linters before merging?

Cleaned up syncwaves and hooks, jobs. We do not manually wait for
resources to be up, we rely on argocd retries and eventual consistency.
Improved bucket creation python script by adding some basic error
handling and logging, also moved the script to its own file for better
maintainability. Renamed xray-init to better reflect the true
functionality of the app. Removed the unneeded service account
application.
Cleaned up syncwaves and hooks, jobs. We do not manually wait for
resources to be up, we rely on argocd retries and eventual consistency.
Refactored the creation of prometheus datasource to a crd from a job.
Removed all the unneeded rbac permissions from the sa.
Added a consolelink for the grafana app for easier reachability since
this is one of the main components of the pattern.
@mbaldessari mbaldessari merged commit b899fb4 into validatedpatterns:main Jan 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants