aklemp commented on issue #4841: URL: https://github.com/apache/camel-k/issues/4841#issuecomment-1781166493
I'm not into the details who is doing its magic (Camel, Camel K, Kubernetes). However, I don't see the need to access REST API every time we use the secret because they are mounted in the pods file system in a directory containing also the secret name. The files containing the secrets can be uniquely references in the file system. There "just" needs to be some format to specify it in the integration and map that to the file contents. For example `{{secret:<name>/<key>}}` maps to the content of file `CAMEL_K_MOUNT_PATH_SECRETS/<name>/<key>`. From my understanding that is populated on pod startup and never updates even if the secret changes, so the secrets could also be cached in the Camel process of the pod. -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org