Added fix for the checkov errors in the deployment.yaml file #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following errors were resolved:
CKV_K8S_37: "Minimize the admission of containers with capabilities assigned"
CKV_K8S_31: "Ensure that the seccomp profile is set to docker/default or runtime/default"
CKV_K8S_8: "Liveness Probe Should be Configured"
CKV_K8S_20: "Containers should not run with allowPrivilegeEscalation"
CKV_K8S_40: "Containers should run as a high UID to avoid host conflict"
CKV_K8S_22: "Use read-only filesystem for containers where possible"
CKV_K8S_9: "Readiness Probe Should be Configured"
CKV_K8S_28: "Minimize the admission of containers with the NET_RAW capability"
CKV_K8S_29: "Apply security context to your pods and containers"
CKV_K8S_30: "Apply security context to your containers"
CKV_K8S_14: "Image Tag should be fixed - not latest or blank"
CKV_K8S_38: "Ensure that Service Account Tokens are only mounted where necessary"
CKV_K8S_21: "The default namespace should not be used"
CKV_K8S_23: "Minimize the admission of root containers"
CKV_K8S_43: "Image should use digest"
Closes #6