Skip to content

Conversation

@yosefmih
Copy link
Contributor

Adds an annotation with key kubectl.kubernetes.io/default-container and value the name of the main container to identify the main container in a Porter app. This makes it easy to run log/exec operations without specifying a -c.

@rudimk rudimk self-requested a review July 31, 2025 13:42
@yosefmih yosefmih merged commit cb2916a into main Jul 31, 2025
2 checks passed
@yosefmih yosefmih deleted the ym/main_container_annotation branch July 31, 2025 13:42
@rudimk
Copy link
Contributor

rudimk commented Jul 31, 2025

👍 👍

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.

3 participants