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

Use the name variable for placeholder container, resource names #1863

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sed-i
Copy link
Contributor

@sed-i sed-i commented Aug 27, 2024

Currently, the k8s template uses some-container as a placeholder for container, resource names.
This PR changes the template to use the name variable instead.
This follows a convention many charmers happen to practice:

  • container name matches the main workload's name
  • resource name is the main workload's name + -image suffix.

@lengau
Copy link
Collaborator

lengau commented Sep 17, 2024

Thanks for the PR, @sed-i ! Could you re-author with an email address that meets the CLA requirement and fix the unit test breakage? I'd be happy to accept this PR with that 😄

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