Fixing Security - Array is stored directly sonar reported issue in Kubernetes client.