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

feat: mount odigos agent directory via pod manifest #2398

Merged
merged 8 commits into from
Feb 6, 2025

Conversation

blumamir
Copy link
Collaborator

@blumamir blumamir commented Feb 6, 2025

This is preparation for removing the instrumentation device which currently is responsible for the mount

@tamirdavid1 tamirdavid1 changed the title feat: mound odigos agent directory via pod manifest feat: mount odigos agent directory via pod manifest Feb 6, 2025
@@ -88,6 +90,34 @@ func (p *PodsWebhook) Default(ctx context.Context, obj runtime.Object) error {
// Add odiglet installed node-affinity to the pod
podutils.AddOdigletInstalledAffinity(pod)

volumeMounted := false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:
maybe move it to other function so the main function (Default) will stay cleaner?
maybe podutils.MountOdigosVolumes?

@blumamir blumamir merged commit 1142836 into odigos-io:main Feb 6, 2025
43 of 45 checks 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