You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/12/09 16:48:43 UTC

[GitHub] [camel-k] astefanutti commented on issue #1127: Don't write to platform spec to allow upgrades

astefanutti commented on issue #1127: Don't write to platform spec to allow upgrades
URL: https://github.com/apache/camel-k/pull/1127#issuecomment-563328177
 
 
   @nicolaferraro, just thinking out loud, would using the `kubectl.kubernetes.io/last-applied-configuration` annotation or something equivalent be a way to transport user defined configuration, e.g., when creating the platform with the `apply` sub-command:
   
   ```
   apiVersion: camel.apache.org/v1alpha1
   kind: IntegrationPlatform
   metadata:
     annotations:
       kubectl.kubernetes.io/last-applied-configuration: |
         {"apiVersion":"camel.apache.org/v1alpha1","kind":"IntegrationPlatform","metadata":{"annotations":{},"labels":{"app":"camel-k"},"name":"camel-k","namespace":"camel-k"}}
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services