mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
fixed image and entrypoint
This commit is contained in:
+1
-1
@@ -24,4 +24,4 @@ COPY --from=builder /work/build/ubuntu-latest/kubescape /usr/bin/kubescape
|
||||
# # Download the frameworks. Use the "--use-default" flag when running kubescape
|
||||
# RUN kubescape download framework nsa && kubescape download framework mitre
|
||||
|
||||
CMD ["kubescape"]
|
||||
ENTRYPOINT ["kubescape"]
|
||||
|
||||
@@ -72,10 +72,8 @@ metadata:
|
||||
data:
|
||||
config.json: |
|
||||
{
|
||||
"adminMail": "",
|
||||
"customerGUID": "<MyGUID>",
|
||||
"clusterName": "<MyK8sClusterName>",
|
||||
"invitationParam": ""
|
||||
"customerGUID": <MyGUID>,
|
||||
"clusterName": <MyK8sClusterName>
|
||||
}
|
||||
|
||||
---
|
||||
@@ -104,12 +102,11 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: kubescape
|
||||
image: quay.io/armosec/kubescape:latset
|
||||
image: quay.io/armosec/kubescape:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["/bin/sh","-c"]
|
||||
args:
|
||||
- kubescape scan framework nsa --exclude-namespaces kube-system,kube-public
|
||||
#- kubescape scan framework nsa --use-default --exclude-namespaces kube-system,kube-public
|
||||
- kubescape scan framework nsa --submit
|
||||
volumeMounts:
|
||||
- name: kubescape-config-volume
|
||||
mountPath: /root/.kubescape/config.json
|
||||
|
||||
Reference in New Issue
Block a user