k8sgpt-ai/k8sgpt-operator

[Bug]: CRD is missing integration attribute

Closed this issue · 1 comments

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

V0.0.24

Kubernetes Version

V1.26.0

Host OS and its Version

Steps to reproduce

  1. Install operator helm chart according to readme
  2. define „integrations“ attribute
  3. „Integrations“ attribute is ignored

Expected behaviour

„Integrations“ attribute should be honored as described. Maybe also other attributes are missing?

Actual behaviour

„Integrations“ attribute in K8sGPT CR is ignored

Additional Information

hey all, I just tried the latest operator version 0.0.24. It seems the K8sGPT CR doesn't work as excepted. The "integrations" attribut is not known when installing the operator via helm. I guess the problem is that the integrations attribut is only defined in the CRD here https://github.com/k8sgpt-ai/k8sgpt-operator/blob/v0.0.24/config/crd/bases/core.k8sgpt.ai_k8sgpts.yaml#L84-L95 but not in https://github.com/k8sgpt-ai/k8sgpt-operator/blob/v0.0.24/chart/operator/templates/k8sgpt-crd.yaml and in the official helm-chart it seems that the https://github.com/k8sgpt-ai/k8sgpt-operator/blob/v0.0.24/chart/operator/templates/k8sgpt-crd.yaml is used. Any ideas?

Fixed in 0.0.25