Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 51 of 51 for createPolicy (0.04 seconds)

  1. helm-releases/minio-5.3.0.tgz

    return 0 } # checkPolicyExists ($policy) # Check if the policy exists, by using the exit code of `mc admin policy info` checkPolicyExists() { POLICY=$1 CMD=$(${MC} admin policy info myminio $POLICY > /dev/null 2>&1) return $? } # createPolicy($name, $filename) createPolicy () { NAME=$1 FILENAME=$2 # Create the name if it does not exist echo "Checking policy: $NAME (in /config/$FILENAME.json)" if ! checkPolicyExists $NAME ; then echo "Creating policy '$NAME'" else echo "Policy '$NAME' already exists."...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 11 12:21:05 GMT 2024
    - 21.7K bytes
    - Click Count (0)
Back to Top