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

Kamel bind produces incomplete yaml files with -o yaml #2565

Closed
hguerrero opened this issue Aug 10, 2021 · 0 comments · Fixed by #2575
Closed

Kamel bind produces incomplete yaml files with -o yaml #2565

hguerrero opened this issue Aug 10, 2021 · 0 comments · Fixed by #2575
Assignees

Comments

@hguerrero
Copy link
Contributor

When running kamel bind ... -o yaml the result is missing the apiVersion and kind lines.

Example:

kamel bind timer-source kafka-sink -p source.message="hola mundo" -p sink.topic="timer1" -p sink.brokers="uno" -p sink.username="dos" -p sink.password="tres" -o yaml

produces the following output:

metadata:
  creationTimestamp: null
  name: timer-source-to-kafka-sink
  namespace: user1
spec:
  errorHandler: null
  sink:
    properties:
      brokers: uno
      password: tres
      topic: timer1
      username: dos
    ref:
      apiVersion: camel.apache.org/v1alpha1
      kind: Kamelet
      name: kafka-sink
      namespace: user1
  source:
    properties:
      message: hola mundo
    ref:
      apiVersion: camel.apache.org/v1alpha1
      kind: Kamelet
      name: timer-source
      namespace: user1
status: {}
@squakez squakez self-assigned this Aug 16, 2021
squakez added a commit to squakez/camel-k that referenced this issue Aug 16, 2021
squakez added a commit to squakez/camel-k that referenced this issue Aug 19, 2021
squakez added a commit to squakez/camel-k that referenced this issue Aug 19, 2021
squakez added a commit to squakez/camel-k that referenced this issue Aug 19, 2021
squakez added a commit to squakez/camel-k that referenced this issue Aug 19, 2021
astefanutti pushed a commit that referenced this issue Aug 20, 2021
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

Successfully merging a pull request may close this issue.

2 participants