k8sgpt-ai / k8sgpt-operator

Automatic SRE Superpowers within your Kubernetes cluster
https://k8sgpt.ai
Apache License 2.0
293 stars 80 forks source link

fix: change deployment image reconciling #348

Closed ultram4rine closed 4 months ago

ultram4rine commented 6 months ago

Closes #346

📑 Description

Fix deployment image update if repository has a port.

✅ Checks

ℹ Additional Information

Also change Update the deployment image behavior. Now it will keep deployment image in sync with repo and version from K8sGPT CRD. Please tell me if this is wrong.

ultram4rine commented 4 months ago

New func should work, playground: https://go.dev/play/p/eYTOsZhlJGH