docs: public void deploy(InputStream inputStream) throws IOException {
          final List<? extends HasMetadata> entities = deploy("application", inputStream);
  
          if (this.applicationName == null) {
  
              Optional<String> deployment = entities.stream()
                  .filter(hm -> hm instanceof Deployment)
                  .map(hm -> (Deployment) hm)
                  .map(rc -> rc.getMetadata().getName()).findFirst();
  
              deployment.ifPresent(name -> this.applicationName = name);
          }
      }