Skip to content

KAR injector support for Camel-K #19

@tardieu

Description

@tardieu

To deploy Camel-K integrations using kubectl with need yaml such as:

apiVersion: v1
kind: Pod
metadata:
  name: stock-source
spec:
  containers:
  - name: stock-source
    image: localhost:5000/kar/kar-examples-stock-source
    env:
    - name: KAFKA_BROKERS
      valueFrom:
        secretKeyRef:
          name: kar.ibm.com.runtime-config
          key: kafka_brokers

See https://github.com/IBM/kar/blob/main/examples/camel-k/deploy/stocks.yaml.

We could extend the mutating webhook to permit something like:

apiVersion: v1
kind: Pod
metadata:
  name: stock-source
  annotations:
    kar.ibm.com/runtime: camel
spec:
  containers:
  - name: stock-source
    image: localhost:5000/kar/kar-examples-stock-source

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions