squakez commented on code in PR #6855:
URL: https://github.com/apache/camel-k/pull/6855#discussion_r4130529542


##########
docs/modules/ROOT/pages/configuration/integrationprofiles.adoc:
##########
@@ -36,7 +45,41 @@ spec:
 # ...
 ----
 
-The selection of a IntegrationProfile enables new configuration scenarios, for 
example, sharing global configuration options for groups of Integrations.
+== Namespace Default (Namespace Annotation)
+
+Administrators can set a default profile for all integrations in a namespace 
by annotating the Kubernetes `Namespace`:
+
+[source,yaml]
+----
+kind: Namespace
+apiVersion: v1
+metadata:
+  name: my-team
+  annotations:
+    camel.apache.org/integration-profile.id: my-team-profile
+----
+
+Any Integration created in `my-team` without an explicit profile annotation 
will automatically use `my-team-profile`.

Review Comment:
   We should also say that the `my-team-profile` has to be created by the admin 
in such a namespace.



##########
pkg/resources/config/rbac/descoped/operator-cluster-role.yaml:
##########
@@ -83,6 +83,12 @@ rules:
   - get
   - list
   - watch
+- apiGroups:

Review Comment:
   I think we need the same in "namespaced" rbacs, or is it already existing 
such a role? can you have a look?



-- 
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