sync-rover-groups

command
v0.0.0-...-7b107d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

README

sync-rover-groups

What it does

sync-rover-groups is a tool to resolve the groups in the manifests of CI clusters in the release repo. Its result is a configuration file consumed by github-ldap-user-group-creator.

It can also generate the mapping file in yaml format: m(GitHubID)=KerberosID for each user that set up GitHub URL at Rover.

Why it exists

For various reasons we decided that we want to avoid maintaining lists of logins in our manifests, and rely on Rover Groups instead. The tool sync-rover-groups discovers the groups that we expect to exist in OpenShift CI clusters and resolves their members so that they can be applied to the clusters.

How it works

sync-rover-groups collects the groups in the manifests and resolves their members by querying the Red Hat LDAP server, and saves the resolved groups in a file.

How is it deployed

The cronjob sync-rover-groups-update (definition) uses sync-rover-groups to generate the groups file which is used to form configMap/sync-rover-groups in project/ci on the app.ci cluster.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL