Skip to content

Commit

Permalink
Upgrade Camel K CRDs to 2.0.1 (#1617)
Browse files Browse the repository at this point in the history
Use Kamelet v1 instead of v1alpha1
Keeping KameletBinding and not migrating to Pipes as it is used only in
tests and not yet supported in a released version Camel Jbang

part of #1562

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
  • Loading branch information
apupier committed Sep 5, 2023
1 parent 1472175 commit e11fb60
Show file tree
Hide file tree
Showing 638 changed files with 1,109 additions and 2,157 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ All Kamelets present in this repository **MUST** have the *annotation* `camel.ap
We provide an example of Kamelet to give more context to the following sections:

```yaml
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: timer-source
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/examples/js/kamelets.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const kameletBindings = {
source: {
ref: {
kind: 'Kamelet',
apiVersion: 'camel.apache.org/v1alpha1',
apiVersion: 'camel.apache.org/v1',
name: 'kafka-source',
properties: {
bootstrapServers: 'localhost:9092',
Expand Down
2 changes: 1 addition & 1 deletion kamelets/avro-deserialize-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: avro-deserialize-action
Expand Down
2 changes: 1 addition & 1 deletion kamelets/avro-serialize-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: avro-serialize-action
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-cloudtrail-source.kamelet.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-cloudtrail-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-cloudwatch-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-cloudwatch-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-ddb-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-ddb-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-ddb-streams-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-ddb-streams-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-ec2-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-ec2-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-eventbridge-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-eventbridge-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-kinesis-firehose-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-kinesis-firehose-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-kinesis-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-kinesis-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-kinesis-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-kinesis-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-lambda-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-lambda-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-redshift-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-redshift-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-redshift-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-redshift-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-cdc-source.kamelet.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-s3-cdc-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-s3-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-source.kamelet.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-s3-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-s3-streaming-upload-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-secrets-manager-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-secrets-manager-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-ses-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-ses-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sns-fifo-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-sns-fifo-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sns-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-sns-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-batch-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-sqs-batch-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-fifo-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-sqs-fifo-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-sqs-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-sqs-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-translate-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: aws-translate-action
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-cosmosdb-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-cosmosdb-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-cosmosdb-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-cosmosdb-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-eventhubs-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-eventhubs-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-eventhubs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-eventhubs-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-functions-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-functions-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-servicebus-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-servicebus-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-servicebus-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-servicebus-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-blob-cdc-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-blob-cdc-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-blob-changefeed-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-blob-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-blob-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-blob-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-blob-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-datalake-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-datalake-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-datalake-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-datalake-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-queue-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-queue-sink
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-queue-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------

apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: azure-storage-queue-source
Expand Down
2 changes: 1 addition & 1 deletion kamelets/beer-source.kamelet.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: camel.apache.org/v1alpha1
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: beer-source
Expand Down

0 comments on commit e11fb60

Please sign in to comment.