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

Variablise kubernetes service name for tests #2691

Open
endakelly opened this issue Mar 8, 2023 · 0 comments
Open

Variablise kubernetes service name for tests #2691

endakelly opened this issue Mar 8, 2023 · 0 comments
Labels
enhancement New feature or request low_priority

Comments

@endakelly
Copy link
Contributor

Perhaps run a command in the github action to get the app name from the PR and then get the namespace based on the app name.

  • Action to trigger when new PR created by renovate with title Update helm release
  • Logic to extract the app name with sed or awk
  • Get namespace using command like kgs -A | grep netbox | awk '{print $1}'
  • Use these to set variables for app_name and namespace and form the service name e.g. APP_NAME.NAMESPACE.svc.cluster.local
@endakelly endakelly added enhancement New feature or request low_priority labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low_priority
Projects
None yet
Development

No branches or pull requests

1 participant