use k8s resource to keep the status of the ports
nyrahul opened this issue · comments
Rahul Jadhav commented
- The best way to keep the KubeTLS report is in a k8s CRD.
- The job itself should be converted to CronJob.
- The Resource should contain:
- Report time
- y
- z
Tasks:
- Create k8s CRD
- convert current k8s Job to k8s CronJob
- [ ]
Vadim commented
@nyrahul Hello, thanks for tool. Any plan how to get alert from this statuses if there is non-tls uses ?
Rahul Jadhav commented
The report generates a json,csv report inside the job that can be used by the users to know the status.
However, the challenge is that once the job is Completed, the container local file system cannot be accessed. Typically what others (for e.g., KubeBench) do is to let the user mount a PV inside the pod and specify the volume mount point path for target report data.
Is there any easy way to export the data?