Duncan-tree-zhou commented on code in PR #66:
URL: https://github.com/apache/skywalking-swck/pull/66#discussion_r902729110


##########
docs/java-agent-injector.md:
##########
@@ -111,6 +117,73 @@ volumes:
     name: java-agent-configmap-volume
 ```
 
+### Use SwAgent CR to overlay default agent configuration
+
+The injector will read the SwAgent CR when pods creating.
+
+SwAgent CRD basic structure is like:
+
+```yaml
+apiVersion: operator.skywalking.apache.org/v1alpha1
+kind: SwAgent
+metadata:
+  name: swagent
+  namespace: skywalking-system
+spec:
+  containerMatcher: '.*'
+  selector:
+    app: demo
+  javaSidecar:
+    name: swagent
+    image: apache/skywalking-java-agent:8.8.0-java8
+    env:
+      - name: SW_LOGGING_LEVEL
+        value: "DEBUG"
+  sharedVolume:

Review Comment:
   Sure



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