Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm template fails when knative serving is enabled #39

Open
andcan opened this issue Feb 19, 2023 · 0 comments
Open

Helm template fails when knative serving is enabled #39

andcan opened this issue Feb 19, 2023 · 0 comments
Assignees

Comments

@andcan
Copy link

andcan commented Feb 19, 2023

It's not possible to render with helm template:

wrote generated/openfunction/crds/builder.yaml
wrote generated/openfunction/crds/clustereventbus.yaml
wrote generated/openfunction/crds/eventbus.yaml
wrote generated/openfunction/crds/eventsource.yaml
wrote generated/openfunction/crds/function.yaml
wrote generated/openfunction/crds/gateway-api.yaml
wrote generated/openfunction/crds/gateway.yaml
wrote generated/openfunction/crds/serving.yaml
wrote generated/openfunction/crds/trigger.yaml
wrote generated/openfunction/charts/dapr/crds/components.yaml
wrote generated/openfunction/charts/dapr/crds/configuration.yaml
wrote generated/openfunction/charts/dapr/crds/resiliency.yaml
wrote generated/openfunction/charts/dapr/crds/subscription.yaml
Error: open generated/openfunction/charts/knative-serving/crds/serving.yaml: no such file or directory

Reproduction steps:

helm repo add openfunction https://openfunction.github.io/charts/
helm repo update
helm pull openfunction/openfunction
tar zxf openfunction-v0.8.1-v0.4.0.tgz
cd openfunction
helm template . --include-crds --output-dir generated

The error occurs when including crds and specifying the output directory. This commands do not make helm template fail:

helm template . --output-dir generated
helm template . --include-crds
helm template . --include-crds --output-dir generated --set global.KnativeServing.enabled=false

Tested helm versions:

  • version.BuildInfo{Version:"v3.11.0", GitCommit:"472c5736ab01133de504a826bd9ee12cbe4e7904", GitTreeState:"clean", GoVersion:"go1.19.5"}
  • version.BuildInfo{Version:"v3.10.2", GitCommit:"50f003e5ee8704ec937a756c646870227d7c8b58", GitTreeState:"clean", GoVersion:"go1.18.8"}
  • version.BuildInfo{Version:"v3.9.4", GitCommit:"dbc6d8e20fe1d58d50e6ed30f09a04a77e4c68db", GitTreeState:"clean", GoVersion:"go1.17.13"}
  • version.BuildInfo{Version:"v3.8.1", GitCommit:"5cb9af4b1b271d11d7a97a71df3ac337dd94ad37", GitTreeState:"clean", GoVersion:"go1.17.5"}
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

No branches or pull requests

2 participants