Skip to content

[BUG] flyte-core raw kubernetes yaml with helm template fails #6634

@wildfluss

Description

@wildfluss

Flyte & Flytekit version

flyte v1.16.0

Describe the bug

this fails , which is documented here https://github.com/flyteorg/flyte/blob/master/charts/flyte-core/README.md#alternative-generate-raw-kubernetes-yaml-with-helm-template

gco -b v1.16.0 v1.16.0
cd charts/flyte-core
helm dependency build
helm template --name-template=flyte-eks . -n flyte -f values-eks.yaml > flyte_generated_eks.yaml
kubectl apply -f flyte_generated_eks.yaml

output is

> kubectl apply -f flyte_generated_eks.yaml
serviceaccount/flyteadmin created
serviceaccount/datacatalog created
serviceaccount/flytescheduler created
serviceaccount/flytepropeller created
serviceaccount/flyte-pod-webhook created
secret/flyte-admin-secrets created
secret/flyte-secret-auth created
secret/db-pass created
secret/flyte-pod-webhook created
configmap/flyte-admin-clusters-config created
configmap/flyte-admin-base-config created
configmap/clusterresource-template created
configmap/flyte-clusterresourcesync-config created
configmap/flyte-console-config created
configmap/datacatalog-config created
configmap/flyte-scheduler-config created
configmap/flyte-propeller-config created
clusterrole.rbac.authorization.k8s.io/flyte-flyteadmin created
clusterrole.rbac.authorization.k8s.io/flyte-flytepropeller created
clusterrole.rbac.authorization.k8s.io/flyte-flyte-pod-webhook created
clusterrolebinding.rbac.authorization.k8s.io/flyte-flyteadmin-binding created
clusterrolebinding.rbac.authorization.k8s.io/flyte-flytepropeller created
clusterrolebinding.rbac.authorization.k8s.io/flyte-flyte-pod-webhook created
service/flyteadmin created
service/flyteconsole created
service/datacatalog created
service/flyte-pod-webhook created
deployment.apps/flyteadmin created
deployment.apps/syncresources created
deployment.apps/flyteconsole created
deployment.apps/datacatalog created
deployment.apps/flytescheduler created
deployment.apps/flytepropeller created
deployment.apps/flyte-pod-webhook created
Warning: annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead
ingress.networking.k8s.io/flyte-core created
ingress.networking.k8s.io/flyte-core-grpc created
error: resource mapping not found for name: "flyteworkflows.flyte.lyft.com" namespace: "" from "flyte_generated_eks.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first

Expected behavior

should have installed manifests to the cluster without errors

Additional context to reproduce

kubernetes vers:

> kubectl version
Client Version: v1.34.1
Kustomize Version: v5.7.1
Server Version: v1.34.1-rc1+k3s1

Screenshots

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguntriagedThis issues has not yet been looked at by the Maintainers

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions