<#6468 [BUG] CustomResourceDefinition uses wrong A...
# flyte-github
c
#6468 [BUG] CustomResourceDefinition uses wrong APIVersion Issue created by GautamSinghania ### Describe the bug When using Flyte core with Helm to generate Flyte Kubernetes YAML, it is producing a wrong apiVersion.
Copy code
# Source: flyte-core/templates/propeller/crds/flyteworkflow.yaml
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
### Expected behavior Expected value
Copy code
# Source: flyte-core/templates/propeller/crds/flyteworkflow.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
### Additional context to reproduce Files: • Helm packaged file:
Copy code
helm repo add flyte https://flyteorg.github.io/flyte  
 helm repo update  
 helm pull flyte/flyte-core --version 1.15.3 --untar=false
• values-gcp.yaml Command:
helm template flyte-core-v1.15.3.tgz -f values-gcp.yaml
Versions: $ helm version version.BuildInfo{Version:"v3.18.0", GitCommit:"cc58e3f5a3aa615c6a86275e6f4444b5fdd3cc4e", GitTreeState:"clean", GoVersion:"go1.24.3"} $ kubectl version Client Version: v1.33.1 Kustomize Version: v5.6.0 Server Version: v1.31.5-gke.1233000 WARNING: version difference between client (1.33) and server (1.31) exceeds the supported minor version skew of +/-1 Relevant Code Link: https://github.com/flyteorg/flyte/blob/master/charts/flyte-core/templates/propeller/crds/flyteworkflow.yaml#L3 Previous issues and PRs: • #1273 • #1972 • #2114 ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte