redhat-cop / rhel-edge-automation-arch

RHEL for Edge Automation Deployment Architecture
Apache License 2.0
46 stars 33 forks source link

Enable defining YUM repositories in Nexus #224

Closed jordigilh closed 2 years ago

jordigilh commented 2 years ago

Allows defining yum repositories in nexus as part of the nexus setup.

@sabre1041 @nasx please take a look. This is something needed for K4E where key packages are RPMs built on demand but not available in public repositories, instead they are pushed to a local repository and then used as source with the composer-cli add source command.

Example of a yaml to create a yum repository during bootstrap:

---
application-manager:
  charts:
    # Top Level RFE App of App Chart
    rfe-automation:
      values:
        charts:
          # RFE App of App Chart
          rfe:
            values:
              charts:
                # Nexus Chart
                nexus:
                  values:
                    setup:
                      repositories:
                        yum:
                        - local-yum