INNER CODE UNIT · Shell

j

jkroepke/helm-secrets · scripts/commands/decrypt.sh:79

        j=$((j + 1))
    done

    filepath="$1"

    if [ "${terraform}" = "true" ] || [ "${inline}" = "false" ]; then
        output="stdout"
    else
        output="${filepath}"
    fi

    if ! encrypted_filepath=$(_file_get "${filepath}"); then
        fatal 'File does not exist: %s' "${filepath}"
    fi

    # Append an underscore to the end of the content to prevent the stripping of trailing newlines
    # occurring during command substitution.
    if ! content=$(decrypt_helper "${encrypted_filepath}" "auto" "${output}" && printf '_'); then

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…