Skip to content

"generate openapi" fails with no explanation "exit status 1" #1181

@jpkrohling

Description

@jpkrohling

Bug Report

What did you do?

$ operator-sdk generate openapi

What did you expect to see?
The generated openapi documentation for my operator

What did you see instead? Under which circumstances?

$ operator-sdk generate openapi
INFO[0001] Running OpenAPI code-generation for Custom Resource group versions: [io:[v1alpha1], jaegertracing:[v1], ] 
Error: failed to perform openapi code-generation: exit status 1
Usage:
  operator-sdk generate openapi [flags]

Flags:
      --header-file string   Path to file containing headers for generated files.
  -h, --help                 help for openapi

Environment

  • operator-sdk version: 0.5.0
  • Kubernetes version information: v1.13.3
  • Are you writing your operator in ansible, helm, or go?

Additional context
This can be reproduced with the current master from the Jaeger Operator: jaegertracing/jaeger-operator@8d5f92c

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.triage/supportIndicates an issue that is a support question.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions