Ensure not directly use 'kubectl apply' in scripts
Using 'kubectl apply' in a pipeline environment can be dangerous as it has super-user permissions in Kubernetes cluster.
Risk Level: medium
Platform: GitLab
Spectral Rule ID: GLPL004
REMEDIATION
Avoid using 'kubectl apply' in pipelines or separate the build operation to run in an unprivileged container.
Read more:
- TBD
Updated over 1 year ago