zhiminglim opened a new issue #2756:
URL: https://github.com/apache/camel-k/issues/2756


   Hello,
   
   I'm working with Camel K with Helm, and instead of doing the traditional 
`kamel run` I'm deploying it via a helm chart, hence I have to write the CRDs.
   
   As I have to work with deploying the same integrations in multiple 
namespaces, I have to set up an IntegrationPlatform per namespace via a YAML 
file.
   
   ```yaml
   ---
   apiVersion: camel.apache.org/v1
   kind: IntegrationPlatform
   metadata:
     name: camel-k
     labels:
       {{ include "chart.labels" . | nindent 4 }}
     namespace: {{ .Release.namespace }} 
   spec:
     build:
       maven:
         settings:
           secretKeyRef:
             key: settings.xml
             name: camel-k-maven-settings
       registry:
         address: xxx.acr.io
         secret: camel-k-registry-secret
       timeout: 30m0s
   ```
   
   As I apply the above manifest into Kubernetes, the Camel K Operator also 
installs Kamelets into each namespace. But when i uninstall the helm chart, the 
Kamelets are still left in the namespace intact. Is there a way to disable the 
creation of Kamelets when working directly with the IntegrationPlatform CRD so 
that I won't have leftover Kamelets CRDs (and also CamelCatalogs) in the 
namespace when I no longer wish to use the IntegrationPlatform/Integrations?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to