This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new f9b9e8425 chore(api): podspec deprecation notice
f9b9e8425 is described below

commit f9b9e8425c3e9c11341ed64b29ebbd588147a02f
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Sat Sep 13 10:20:52 2025 +0200

    chore(api): podspec deprecation notice
---
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc              |  2 ++
 helm/camel-k/crds/camel-k-crds.yaml                            | 10 ++++++++--
 pkg/apis/camel/v1/integration_types.go                         |  2 ++
 .../config/crd/bases/camel.apache.org_integrations.yaml        |  5 ++++-
 pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml     |  5 ++++-
 5 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc 
b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index 0f9dd8545..a58abb7a0 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -3515,6 +3515,8 @@ the traits needed to run this Integration
 
 
 Pod template customization
+Deprecated:
+Use container, init-containers or owner traits instead
 
 |`configuration` +
 *xref:#_camel_apache_org_v1_ConfigurationSpec[[\]ConfigurationSpec]*
diff --git a/helm/camel-k/crds/camel-k-crds.yaml 
b/helm/camel-k/crds/camel-k-crds.yaml
index f9651e49e..cf8b3716e 100644
--- a/helm/camel-k/crds/camel-k-crds.yaml
+++ b/helm/camel-k/crds/camel-k-crds.yaml
@@ -12352,7 +12352,10 @@ spec:
                   type: object
                 type: array
               template:
-                description: Pod template customization
+                description: |-
+                  Pod template customization
+                  Deprecated:
+                  Use container, init-containers or owner traits instead
                 properties:
                   spec:
                     description: the specification
@@ -24334,7 +24337,10 @@ spec:
                       type: object
                     type: array
                   template:
-                    description: Pod template customization
+                    description: |-
+                      Pod template customization
+                      Deprecated:
+                      Use container, init-containers or owner traits instead
                     properties:
                       spec:
                         description: the specification
diff --git a/pkg/apis/camel/v1/integration_types.go 
b/pkg/apis/camel/v1/integration_types.go
index b6bdebcf0..40b6b2069 100644
--- a/pkg/apis/camel/v1/integration_types.go
+++ b/pkg/apis/camel/v1/integration_types.go
@@ -72,6 +72,8 @@ type IntegrationSpec struct {
        // the traits needed to run this Integration
        Traits Traits `json:"traits,omitempty"`
        // Pod template customization
+       // Deprecated:
+       // Use container, init-containers or owner traits instead
        PodTemplate *PodSpecTemplate `json:"template,omitempty"`
        // Deprecated:
        // Use camel trait (camel.properties) to manage properties
diff --git a/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml 
b/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml
index 05d1a21b2..99e736ed8 100644
--- a/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml
+++ b/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml
@@ -271,7 +271,10 @@ spec:
                   type: object
                 type: array
               template:
-                description: Pod template customization
+                description: |-
+                  Pod template customization
+                  Deprecated:
+                  Use container, init-containers or owner traits instead
                 properties:
                   spec:
                     description: the specification
diff --git a/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml 
b/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml
index 3a6d5f3eb..e9091058b 100644
--- a/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml
+++ b/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml
@@ -267,7 +267,10 @@ spec:
                       type: object
                     type: array
                   template:
-                    description: Pod template customization
+                    description: |-
+                      Pod template customization
+                      Deprecated:
+                      Use container, init-containers or owner traits instead
                     properties:
                       spec:
                         description: the specification

Reply via email to