github-advanced-security[bot] commented on code in PR #839:
URL: https://github.com/apache/dubbo-go-pixiu/pull/839#discussion_r2610428352


##########
controllers/samples/helloworld/helloworld-deployment.yaml:
##########
@@ -0,0 +1,72 @@
+---
+apiVersion: v1
+kind: Namespace
+metadata:
+  name: helloworld
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: dubbo-go-server
+  namespace: helloworld
+  labels:
+    app: dubbo-go-server
+spec:
+  type: ClusterIP
+  ports:
+    - name: triple
+      protocol: TCP
+      port: 20000
+      targetPort: 20000
+  selector:
+    app: dubbo-go-server
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: dubbo-go-server
+  namespace: helloworld
+  labels:
+    app: dubbo-go-server
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: dubbo-go-server
+  template:
+    metadata:
+      labels:
+        app: dubbo-go-server
+    spec:
+      containers:

Review Comment:
   ## Service account permissions should be restricted
   
   <!--SONAR_ISSUE_KEY:AZsNaa-KQgTq3-9RPNmp-->Bind this resource's automounted 
service account to RBAC or disable automounting. <p>See more on <a 
href="https://sonarcloud.io/project/issues?id=apache_dubbo-go-pixiu&issues=AZsNaa-KQgTq3-9RPNmp&open=AZsNaa-KQgTq3-9RPNmp&pullRequest=839";>SonarQube
 Cloud</a></p>
   
   [Show more 
details](https://github.com/apache/dubbo-go-pixiu/security/code-scanning/266)



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to