opendevstack / ods-core

The core of OpenDevStack - infrastructure setup based on Atlassian tools, Jenkins, Nexus, SonarQube and shared images
Apache License 2.0
47 stars 34 forks source link

Integrate ocp-utils Docker image in opendevstack organization in Dockerhub #945

Open jssnull opened 3 years ago

jssnull commented 3 years ago

Hi I think this Docker image is really interesting and could be very usefull for namespace maintenance task: https://github.com/jandradap/ocp-utils

If we fork it in opendevstack organization as a new repository we could use it for maintenance tasks in ODS projects and also in ODS central namespace, specially for PVC data migrations, and could be used in dockerplain quickstarters for maintenance tasks in ODS projects. this wouldn't take so much time to implement.

Then, what I suggest exactly is the following:

  1. Fork the following repository in opendevstack organization: https://github.com/jandradap/ocp-utils
  2. Build it as a Docker image and upload it to dockerhub in opendevstack organization
stitakis commented 3 years ago

@jssnull thanks for submitting this enhacement... 2 questions:

  1. can you please describe why ocp-utils repo is interesting for you and would be helpful to be able to use in the corporate environment.
  2. what do you mean with "could be used in dockerplain quickstarters for maintenance tasks..." ?
michaelsauter commented 3 years ago

Why fork instead of using an image tag provided by https://hub.docker.com/r/jorgeandrada/ocp-utils? I think you can just launch a pod with this image ... (provided the cluster policies / regulations allow it)

jssnull commented 3 years ago

Hi :)

@stitakis

  1. I think this docker image is interesting because it can be used for data migrations and it can provide a lot of utilites that could be very helpful in a lot of situations (oc, kubectl, rsync, etc)
  2. I mean this image could be used from any Dockerfile using the command: "FROM" (but it also can be used the original image jorgeandrada/ocp-utils)

@michaelsauter Well, thats true, we can use the image directly in a pod .yaml and it would work with no problems. But having enterprise/organization contexts, if this image is cloned inside opendevstack organization I think this would add more trust to every company that would use that image specially companies that have internal validation processes.