Skip to content

Conversation

@sjoubert
Copy link
Contributor

  • We always need a client, and the default config should work even outside a cluster
  • The conditional property was inverted anyway
  • Since we now always have a client, make it non-nullable in the service
  • For local dev/run, add a 'localKubernetesContext' to control which context is used instead of the current context by default Pass '-PjvmArgs=-DlocalKubernetesContext=my-context' to the gradle bootRun task

- We always need a client, and the default config should work even
  outside a cluster
- The conditional property was inverted anyway
- Since we now always have a client, make it non-nullable in the service
- For local dev/run, add a 'localKubernetesContext' to control which context is used
  instead of the current context by default
  Pass '-PjvmArgs=-DlocalKubernetesContext=my-context' to the gradle bootRun task
@sjoubert sjoubert requested a review from jreynard-code July 11, 2024 06:56
Copy link
Member

@jreynard-code jreynard-code left a comment

Choose a reason for hiding this comment

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

LGTM

@sjoubert sjoubert merged commit ed944d5 into main Jul 11, 2024
@sjoubert sjoubert deleted the fix_kubernetes_api_config branch July 11, 2024 08:39
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