kamel-config.yaml overrides traits configuration provided in didact tutorial.
➜ camel-k-example-api git:(master) cat kamel-config.yaml
kamel:
run:
integration:
api:
# Enable probes by default on the API container
traits: '[container.probes-enabled=true]'
➜ camel-k-example-api git:(master) kamel run --name api test/MinioCustomizer.java API.java --property-file test/minio.properties --open-api openapi.yaml -d camel-openapi-java -t 3scale.enabled=true -t 3scale.description-path=/openapi.json --profile OpenShift
integration "api" updated
➜ camel-k-example-api git:(master) oc get service api -o yaml | grep 3scale
➜ camel-k-example-api git:(master) rm kamel-config.yaml
➜ camel-k-example-api git:(master) ✗ kamel run --name api test/MinioCustomizer.java API.java --property-file test/minio.properties --open-api openapi.yaml -d camel-openapi-java -t 3scale.enabled=true -t 3scale.description-path=/openapi.json --profile OpenShift
integration "api" updated
➜ camel-k-example-api git:(master) ✗ oc get service api -o yaml | grep 3scale discovery.3scale.net/description-path: /openapi.json
discovery.3scale.net/path: /
discovery.3scale.net/port: "80"
discovery.3scale.net/scheme: http
discovery.3scale.net: "true"
- is caused by
-
ENTESB-13566 Camel-K-API quickstart testing
-
- Closed
-