Skip to content
Snippets Groups Projects
Commit cd1e003b authored by Carina Antunes's avatar Carina Antunes
Browse files

Update modifyGroups-wrapper.sh

parent 1318dfa7
No related branches found
No related tags found
1 merge request!26[#15] Modification of scripts for adding/removing groups to projects and wrapper script
Pipeline #7519961 passed
#!/bin/bash #!/bin/bash
# ---
# Script to uniform admin role group mapping
#
# Example usage:
# oc get projects -l okd.cern.ch/user-project="true" -A -o json --no-headers | jq -r '.items[] | .metadata.name' | xargs -I{} sh modifyGroups-wrapper.sh {}
# ---
# Check if project name argument is provided # Check if project name argument is provided
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "Usage: $0 <project_name>" echo "Usage: $0 <project_name>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment